mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-28 13:12:11 +01:00
Merge branch 'support-larger-ids' of https://github.com/Cray/osc
Since uid_t/gid_t are system dependent there is no reason to enforce an "arbitrary" upper bound.
This commit is contained in:
commit
8728a071ca
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user