##// END OF EJS Templates
store: py26 compat, don't use a dict comprehension
Martijn Pieters -
r30108:e1e71904 default
parent child Browse files
Show More
@@ -107,7 +107,7 b' def _buildencodefun():'
107 asciistr = map(chr, xrange(127))
107 asciistr = map(chr, xrange(127))
108 capitals = list(range(ord("A"), ord("Z") + 1))
108 capitals = list(range(ord("A"), ord("Z") + 1))
109
109
110 cmap = {x:x for x in asciistr}
110 cmap = dict((x, x) for x in asciistr)
111 for x in _reserved():
111 for x in _reserved():
112 cmap[xchr(x)] = "~%02x" % x
112 cmap[xchr(x)] = "~%02x" % x
113 for x in capitals + [ord(e)]:
113 for x in capitals + [ord(e)]:
General Comments 0
You need to be logged in to leave comments. Login now