* fixed stanza.keys()

This commit is contained in:
Nathan Fritz 2010-01-08 05:26:37 +00:00
parent 8e3168e145
commit 0af468b435
2 changed files with 4 additions and 0 deletions

View file

@ -77,6 +77,7 @@ class ElementBase(object):
out += [x for x in self.plugins]
if self.iterables:
out.append('substanzas')
return tuple(out)
def find(self, item):
return self.iterables.find(item)

View file

@ -16,6 +16,9 @@ def testAffiliations():
values = iq2.getValues()
print(values)
iq3.setValues(values)
print("-"*8)
print(iq3.keys())
print(iq3)
print(str(iq) == str(iq2) == str(iq3))