SHA256
1
0
Matej Cepl 2023-05-03 07:07:31 +00:00 committed by Git OBS Bridge
parent f503a46aa9
commit 7cfc036a7d

View File

@ -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