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

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


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

Modified Files:
      Tag: release21-maint
	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.22.4.1
retrieving revision 1.22.4.2
diff -C2 -d -r1.22.4.1 -r1.22.4.2
*** expatreader.py	4 Apr 2002 17:59:25 -0000	1.22.4.1
--- expatreader.py	4 Apr 2002 19:13:18 -0000	1.22.4.2
***************
*** 40,44 ****
          if parser is None or parser._parser is None:
              return 1
!         return self._parser.ErrorLineNumber
  
      def getPublicId(self):
--- 40,44 ----
          if parser is None or parser._parser is None:
              return 1
!         return parser._parser.ErrorLineNumber
  
      def getPublicId(self):