readmarkers: drop another conditional
authorMatt Mackall <mpm@selenic.com>
Sun, 11 Jan 2015 14:32:56 -0600
changeset 23794 e1583d70c4f2
parent 23793 201e15167d99
child 23795 629b345d105f
readmarkers: drop another conditional
mercurial/obsolete.py
--- a/mercurial/obsolete.py	Sat Jan 10 21:28:15 2015 -0600
+++ b/mercurial/obsolete.py	Sun Jan 11 14:32:56 2015 -0600
@@ -310,9 +310,7 @@
         # read parents
         if numpar == _fm1parentnone:
             parents = None
-        elif numpar == 0:
-            parents = ()
-        elif numpar:  # neither None nor zero
+        else:
             s = (fnodesize * numpar)
             parents = _unpack(_fm1node * numpar, data[off:off + s])
             off += s