PEP8: fix E711: comparison to None should be 'if cond is not None:'
[samba.git] / wintest / wintest.py
index 4af7eb77b1dfc0afea8004e93a355ac58051f295..064eb4bac46b7d230234573d41d77d016471d0c9 100644 (file)
@@ -515,7 +515,7 @@ options {
             i = child.exitstatus
             if wait_for_fail:
                 # wait for timeout or fail
-                if i == None or i > 0:
+                if i is None or i > 0:
                     return
             else:
                 if i == 0: