ovs-bugtool.in: Comparison to None should be 'if cond is None:'
authorGurucharan Shetty <guru@ovn.org>
Mon, 6 Jun 2016 06:12:36 +0000 (23:12 -0700)
committerGurucharan Shetty <guru@ovn.org>
Thu, 9 Jun 2016 18:04:45 +0000 (11:04 -0700)
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Acked-by: Ryan Moats <rmoats@us.ibm.com>
utilities/bugtool/ovs-bugtool.in

index ced74a9..9744ca4 100755 (executable)
@@ -1279,7 +1279,7 @@ def run_procs(procs):
                     active_procs.append(p)
                     pipes.append(p.proc.stdout)
                     break
-                elif p.status == None and not p.failed and not p.timed_out:
+                elif p.status is None and not p.failed and not p.timed_out:
                     p.run()
                     if p.running:
                         active_procs.append(p)