From 274981f77d648ceb87f84cdeaec33a58dfd37385 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 17 Mar 2020 08:34:37 +0100 Subject: Improve Python 3 compatibility --- tester/rt/check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tester') diff --git a/tester/rt/check.py b/tester/rt/check.py index c7f6c23..2a38d99 100755 --- a/tester/rt/check.py +++ b/tester/rt/check.py @@ -284,7 +284,7 @@ class warnings_errors: common = warnings['common'] for build in builds: build_warnings = warnings[build] - if build is not 'common': + if build != 'common': build_warnings = [w for w in build_warnings if w not in common] s += textbox.row(cols_1, [' %s : %d warning(s)' % (build, -- cgit v1.2.3