Commit c84e5eeb authored by Tiago Peixoto's avatar Tiago Peixoto

Fix bug in PropertyDict.keys()

parent 3d74d3c5
......@@ -1414,7 +1414,7 @@ class PropertyDict():
yield v
def keys(self):
return [k[1] for k in self.properties.iterkeys() if k[0] == self.t]
return [k[1] for k in self.properties.keys() if k[0] == self.t]
if sys.version_info < (3,):
def values(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment