Fix the patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python311?expand=0&rev=63
This commit is contained in:
parent
f503a46aa9
commit
7cfc036a7d
@ -9,7 +9,7 @@
|
||||
reason = 'not suitable for buildbots'
|
||||
try:
|
||||
- isbuildbot = getpass.getuser().lower() == 'buildbot'
|
||||
+ isbuildbot = getpass.getuser().lower() in ['buildbot', 'abuild']:
|
||||
+ isbuildbot = getpass.getuser().lower() in ['buildbot', 'abuild']
|
||||
except (KeyError, EnvironmentError) as err:
|
||||
warnings.warn(f'getpass.getuser() failed {err}.', RuntimeWarning)
|
||||
isbuildbot = False
|
||||
|
Loading…
Reference in New Issue
Block a user