Commit d2f5a9ac authored by Lars Gustäbel's avatar Lars Gustäbel

Fixed a bug that caused namespace names to be reported as lists rather

than tuples.
parent 4a41f549
......@@ -145,6 +145,8 @@ class ExpatParser(xmlreader.IncrementalParser, xmlreader.Locator):
pair = string.split(name)
if len(pair) == 1:
pair = (None, name)
else:
pair = tuple(pair)
newattrs = {}
for (aname, value) in attrs.items():
......
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