Commit abfc17cf authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix bug in PropertyDict.items()

parent ebe35be5
......@@ -1508,9 +1508,9 @@ class PropertyDict(object):
return self.keys()
def iterkeys(self):
for k in
for k in
if k[0] == self.t:
yield k[0]
yield k[1]
def items(self):
for k, v in
......@@ -1527,7 +1527,7 @@ class PropertyDict(object):
yield k[1], v
def itervalues(self):
for k, v in
for k, v in
if k[0] == self.t:
yield v
Supports Markdown
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