diff options
author | Jelle van der Waa <jvanderwaa@redhat.com> | 2023-11-03 15:18:09 +0100 |
---|---|---|
committer | Jelle van der Waa <jvanderwaa@redhat.com> | 2023-11-03 15:18:09 +0100 |
commit | d3a1d17d59891e1a90c6b39aba89353760bb047d (patch) | |
tree | 4bc6787b11bd60341872fb16ca618b1cf4be53fd | |
parent | 029651a96dfc8e8e1dc6eca79bd3bf23d3aeb5ce (diff) |
linux: prefer is not None over !=
Compare on object identity not equality.
-rwxr-xr-x | src/linux/integration-test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/integration-test.py b/src/linux/integration-test.py index ac4d0a6..dc75640 100755 --- a/src/linux/integration-test.py +++ b/src/linux/integration-test.py @@ -200,7 +200,7 @@ class Tests(dbusmock.DBusTestCase): env['SYSTEMD_DEVICE_VERIFY_SYSFS'] = '0' self.daemon_log = OutputChecker() - if os.getenv('VALGRIND') != None: + if os.getenv('VALGRIND') is not None: daemon_path = ['valgrind', self.daemon_path, '-v', '-r'] else: daemon_path = [self.daemon_path, '-v', '-r'] |