[Python-checkins] CVS: python/dist/src/Lib/xml/sax expatreader.py,1.25.16.1,1.25.16.2
Fred L. Drake
fdrake@users.sourceforge.net
2002年4月04日 11:12:52 -0800
Update of /cvsroot/python/python/dist/src/Lib/xml/sax
In directory usw-pr-cvs1:/tmp/cvs-serv4783/Lib/xml/sax
Modified Files:
Tag: release22-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.25.16.1
retrieving revision 1.25.16.2
diff -C2 -d -r1.25.16.1 -r1.25.16.2
*** expatreader.py 4 Apr 2002 17:58:53 -0000 1.25.16.1
--- expatreader.py 4 Apr 2002 19:12:50 -0000 1.25.16.2
***************
*** 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):