mirror of
https://github.com/python/cpython
synced 2024-10-05 22:44:53 +00:00
Fixed a bug that caused namespace names to be reported as lists rather
than tuples.
This commit is contained in:
parent
4a41f54958
commit
d2f5a9ac4b
|
@ -145,6 +145,8 @@ def start_element_ns(self, name, attrs):
|
|||
pair = string.split(name)
|
||||
if len(pair) == 1:
|
||||
pair = (None, name)
|
||||
else:
|
||||
pair = tuple(pair)
|
||||
|
||||
newattrs = {}
|
||||
for (aname, value) in attrs.items():
|
||||
|
|
Loading…
Reference in a new issue