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

Fred L. Drake fdrake@users.sourceforge.net
Thu, 04 Apr 2002 11:12:33 -0800


Update of /cvsroot/python/python/dist/src/Lib/xml/sax
In directory usw-pr-cvs1:/tmp/cvs-serv4655/Lib/xml/sax

Modified Files:
	expatreader.py 
Log Message:
Not sure why the regression test missed this, but the PyXML tests caught it.
We should get attributes from the right object.


Index: expatreader.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/xml/sax/expatreader.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** expatreader.py	4 Apr 2002 17:57:08 -0000	1.26
--- expatreader.py	4 Apr 2002 19:12:31 -0000	1.27
***************
*** 50,54 ****
          if parser is None or parser._parser is None:
              return 1
!         return self._parser.ErrorLineNumber
  
      def getPublicId(self):
--- 50,54 ----
          if parser is None or parser._parser is None:
              return 1
!         return parser._parser.ErrorLineNumber
  
      def getPublicId(self):