mercurial/changegroup.py
changeset 20675 f8d50add83e1
parent 19708 fd4f612f7cb6
child 20925 5174c48ed8d8
--- a/mercurial/changegroup.py	Wed Mar 12 13:13:42 2014 -0400
+++ b/mercurial/changegroup.py	Wed Mar 12 13:14:31 2014 -0400
@@ -173,7 +173,7 @@
         if not l:
             return {}
         fname = readexactly(self._stream, l)
-        return dict(filename=fname)
+        return {'filename': fname}
 
     def _deltaheader(self, headertuple, prevnode):
         node, p1, p2, cs = headertuple
@@ -191,8 +191,8 @@
         header = struct.unpack(self.deltaheader, headerdata)
         delta = readexactly(self._stream, l - self.deltaheadersize)
         node, p1, p2, deltabase, cs = self._deltaheader(header, prevnode)
-        return dict(node=node, p1=p1, p2=p2, cs=cs,
-                    deltabase=deltabase, delta=delta)
+        return {'node': node, 'p1': p1, 'p2': p2, 'cs': cs,
+                'deltabase': deltabase, 'delta': delta}
 
 class headerlessfixup(object):
     def __init__(self, fh, h):