fixed missing helper.get(attribute)

This commit is contained in:
mdipierro
2015-12-04 11:28:39 -06:00
parent 7dd8a3c853
commit dfd6d52192

View File

@@ -784,6 +784,9 @@ class DIV(XmlComponent):
else:
return self.components[i]
def get(self, i):
return self.attributes.get(i)
def __setitem__(self, i, value):
"""
Sets attribute with name 'i' or component #i.