diff hgext/mq.py @ 13031:3da456d0c885

code style: prefer 'is' and 'is not' tests with singletons
author Martin Geisler <mg@aragost.com>
date Mon, 22 Nov 2010 18:15:58 +0100
parents cffa35529706
children 026053f691a4
line wrap: on
line diff
--- a/hgext/mq.py	Mon Nov 22 17:57:11 2010 +0100
+++ b/hgext/mq.py	Mon Nov 22 18:15:58 2010 +0100
@@ -1523,7 +1523,7 @@
                 l = line.rstrip()
                 l = l[10:].split(' ')
                 qpp = [bin(x) for x in l]
-            elif datastart != None:
+            elif datastart is not None:
                 l = line.rstrip()
                 n, name = l.split(':', 1)
                 if n: