hgext/hgk.py
changeset 13031 3da456d0c885
parent 12083 ebfc46929f3e
child 14322 a90131b85fd8
--- a/hgext/hgk.py	Mon Nov 22 17:57:11 2010 +0100
+++ b/hgext/hgk.py	Mon Nov 22 18:15:58 2010 +0100
@@ -181,14 +181,14 @@
                 if i + x >= count:
                     l[chunk - x:] = [0] * (chunk - x)
                     break
-                if full != None:
+                if full is not None:
                     l[x] = repo[i + x]
                     l[x].changeset() # force reading
                 else:
                     l[x] = 1
             for x in xrange(chunk - 1, -1, -1):
                 if l[x] != 0:
-                    yield (i + x, full != None and l[x] or None)
+                    yield (i + x, full is not None and l[x] or None)
             if i == 0:
                 break