diff options
author | Lars Gustäbel <lars@gustaebel.de> | 2000-10-19 07:36:29 (GMT) |
---|---|---|
committer | Lars Gustäbel <lars@gustaebel.de> | 2000-10-19 07:36:29 (GMT) |
commit | d2f5a9ac4b161018945cdb5e5a26a722ae86cdb9 (patch) | |
tree | c5a6f8d3325dd8b55b2d1217526c1b0232fad8b7 /Lib | |
parent | 4a41f54958288b0ba2e1823dcbeab545e9e22939 (diff) | |
download | cpython-d2f5a9ac4b161018945cdb5e5a26a722ae86cdb9.zip cpython-d2f5a9ac4b161018945cdb5e5a26a722ae86cdb9.tar.gz cpython-d2f5a9ac4b161018945cdb5e5a26a722ae86cdb9.tar.bz2 |
Fixed a bug that caused namespace names to be reported as lists rather
than tuples.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/xml/sax/expatreader.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ 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(): |