mercurial/store.py
changeset 30108 e1e7190457cf
parent 30077 8f42d8c412c8
child 30398 b63bef41a7b6
--- a/mercurial/store.py	Sat Oct 08 16:51:18 2016 +0200
+++ b/mercurial/store.py	Sun Oct 09 12:58:22 2016 +0200
@@ -107,7 +107,7 @@
         asciistr = map(chr, xrange(127))
     capitals = list(range(ord("A"), ord("Z") + 1))
 
-    cmap = {x:x for x in asciistr}
+    cmap = dict((x, x) for x in asciistr)
     for x in _reserved():
         cmap[xchr(x)] = "~%02x" % x
     for x in capitals + [ord(e)]: