commit | d2f5a9ac4b161018945cdb5e5a26a722ae86cdb9 | [log] [tgz] |
---|---|---|
author | Lars Gustäbel <lars@gustaebel.de> | Thu Oct 19 07:36:29 2000 +0000 |
committer | Lars Gustäbel <lars@gustaebel.de> | Thu Oct 19 07:36:29 2000 +0000 |
tree | c5a6f8d3325dd8b55b2d1217526c1b0232fad8b7 | |
parent | 4a41f54958288b0ba2e1823dcbeab545e9e22939 [diff] [blame] |
Fixed a bug that caused namespace names to be reported as lists rather than tuples.
diff --git a/Lib/xml/sax/expatreader.py b/Lib/xml/sax/expatreader.py index 2f9a297..fed5e2d 100644 --- a/Lib/xml/sax/expatreader.py +++ b/Lib/xml/sax/expatreader.py
@@ -145,6 +145,8 @@ pair = string.split(name) if len(pair) == 1: pair = (None, name) + else: + pair = tuple(pair) newattrs = {} for (aname, value) in attrs.items():