Ordering fixes for Python3.3

This commit is contained in:
Lance Stout
2012-06-19 18:19:44 -07:00
parent 019a4b20ae
commit 36c11ad9de
3 changed files with 4 additions and 4 deletions

View File

@@ -74,7 +74,7 @@ class Set(ElementBase):
if fi is not None:
if val:
fi.attrib['index'] = val
else:
elif 'index' in fi.attrib:
del fi.attrib['index']
elif val:
fi = ET.Element("{%s}first" % (self.namespace))