readmarkers: drop a temporary
authorMatt Mackall <mpm@selenic.com>
Sun, 11 Jan 2015 14:46:55 -0600
changeset 23800 83f361a21d31
parent 23799 ffca0a14b566
child 23801 20b5701cd90a
readmarkers: drop a temporary Two other temporaries are renamed to fit line-length.
mercurial/obsolete.py
--- a/mercurial/obsolete.py	Sun Jan 11 14:44:57 2015 -0600
+++ b/mercurial/obsolete.py	Sun Jan 11 14:46:55 2015 -0600
@@ -292,8 +292,7 @@
     while off <= stop:
         # read fixed part
         o1 = off + _fm1fsize
-        fixeddata = ufixed(data[off:o1])
-        ttsize, seconds, tz, flags, numsuc, numpar, nummeta, prec = fixeddata
+        t, secs, tz, flags, numsuc, numpar, nummeta, prec = ufixed(data[off:o1])
 
         _fm1node = _fm1nodesha1
         fnodesize = _fm1nodesha1size
@@ -324,7 +323,7 @@
             metadata.append((data[off:o1], data[o1:o2]))
             off = o2
 
-        yield (prec, sucs, flags, tuple(metadata), (seconds, tz * 60), parents)
+        yield (prec, sucs, flags, tuple(metadata), (secs, tz * 60), parents)
 
 def _fm1encodeonemarker(marker):
     pre, sucs, flags, metadata, date, parents = marker