commit: 54b2c23688965c5ddf48c1f6a9bae45ef092e2c8
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 7 18:41:54 2020 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Dec 8 07:26:11 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=54b2c236
scripts/auto-bootstraps/analyse_result: fix SyntaxWarning
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
scripts/auto-bootstraps/analyse_result.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/auto-bootstraps/analyse_result.py
b/scripts/auto-bootstraps/analyse_result.py
index 4420c3ff7c..b2cc9bfec8 100755
--- a/scripts/auto-bootstraps/analyse_result.py
+++ b/scripts/auto-bootstraps/analyse_result.py
@@ -127,7 +127,7 @@ with os.scandir(resultsdir) as it:
if os.path.exists(elapsedf):
with open(elapsedf, 'rb') as f:
l = f.readline()
- if l is not '':
+ if l != '':
elapsedtime = int(l)
mconf = os.path.join(resultsdir, arch, "%s" % d, "make.conf")