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

Lars Marius Garshol python-dev@python.org
Sat, 14 Oct 2000 03:28:05 -0700


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

Modified Files:
	expatreader.py 
Log Message:
Fixed minor problem with reset().


Index: expatreader.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/xml/sax/expatreader.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** expatreader.py	2000/10/09 16:45:54	1.17
--- expatreader.py	2000/10/14 10:28:01	1.18
***************
*** 70,75 ****
      def feed(self, data, isFinal = 0):
          if not self._parsing:
-             self._parsing = 1
              self.reset()
              self._cont_handler.startDocument()
  
--- 70,75 ----
      def feed(self, data, isFinal = 0):
          if not self._parsing:
              self.reset()
+             self._parsing = 1
              self._cont_handler.startDocument()
  
***************
*** 118,121 ****
--- 118,122 ----
          self._parser.ExternalEntityRefHandler = self.external_entity_ref
  
+         self._parsing = 0
          self._entity_stack = []