From 7cfc036a7d2ca95220c3eb80476efc71d9cd58e4c082441729401324984653ac Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 3 May 2023 07:07:31 +0000 Subject: [PATCH] Fix the patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python311?expand=0&rev=63 --- skip_if_buildbot-extend.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skip_if_buildbot-extend.patch b/skip_if_buildbot-extend.patch index 493ebfe..0300539 100644 --- a/skip_if_buildbot-extend.patch +++ b/skip_if_buildbot-extend.patch @@ -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