Making dict comprehension work with py2.6
This commit is contained in:
parent
d251e177d8
commit
8a88b2a0f0
@ -49,7 +49,7 @@ def process(tree):
|
||||
return ntree
|
||||
|
||||
if isinstance(tree, HyDict):
|
||||
obj = HyDict({process(x): process(tree[x]) for x in tree})
|
||||
obj = HyDict(dict((process(x), process(tree[x])) for x in tree))
|
||||
obj.replace(tree)
|
||||
return obj
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user