--- 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: