From b42e6f5e048462a829a0bd57d9e6804e1c93b4f3 Mon Sep 17 00:00:00 2001 From: Sean Kelly Date: Mon, 25 Jun 2018 16:12:41 -0400 Subject: [PATCH] Support larger uids and gids --- osc/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/build.py b/osc/build.py index b2ab7e0f..9f7e9dc1 100644 --- a/osc/build.py +++ b/osc/build.py @@ -596,7 +596,7 @@ def main(apiurl, opts, argv): if opts.build_uid: build_uid = opts.build_uid if build_uid: - buildidre = re.compile('^[0-9]{1,5}:[0-9]{1,5}$') + buildidre = re.compile('^[0-9]+:[0-9]+$') if build_uid == 'caller': buildargs.append('--uid=%s:%s' % (os.getuid(), os.getgid())) elif buildidre.match(build_uid):