mercurial/obsolete.py
changeset 23802 a3b010f84c57
parent 23801 20b5701cd90a
child 23803 2763edaba857
--- a/mercurial/obsolete.py	Sun Jan 11 14:51:49 2015 -0600
+++ b/mercurial/obsolete.py	Sun Jan 11 14:52:57 2015 -0600
@@ -320,9 +320,8 @@
                 parents = _unpack(_fm1nodesha1 * numpar, data[o2:o3])
 
         # read metadata
-        metaformat = '>' + (_fm1metapair * nummeta)
         off = o3 + _fm1metapairsize * nummeta
-        metapairsize = _unpack(metaformat, data[o3:off])
+        metapairsize = _unpack('>' + (_fm1metapair * nummeta), data[o3:off])
         metadata = []
         for idx in xrange(0, len(metapairsize), 2):
             o1 = off + metapairsize[idx]