[Python-checkins] CVS: python/dist/src/Lib/xml/sax expatreader.py,1.18,1.19

Lars Marius Garshol python-dev@python.org
Thu, 19 Oct 2000 00:36:31 -0700


Update of /cvsroot/python/python/dist/src/Lib/xml/sax
In directory slayer.i.sourceforge.net:/tmp/cvs-serv7072

Modified Files:
	expatreader.py 
Log Message:
Fixed a bug that caused namespace names to be reported as lists rather
than tuples.


Index: expatreader.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/xml/sax/expatreader.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** expatreader.py	2000/10/14 10:28:01	1.18
--- expatreader.py	2000/10/19 07:36:29	1.19
***************
*** 146,149 ****
--- 146,151 ----
          if len(pair) == 1:
              pair = (None, name)
+         else:
+             pair = tuple(pair)
  
          newattrs = {}