[Python-checkins] python/dist/src/Doc/tools/sgmlconv esistools.py,1.8,1.9
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Wed, 16 Oct 2002 09:02:14 -0700
Update of /cvsroot/python/python/dist/src/Doc/tools/sgmlconv
In directory usw-pr-cvs1:/tmp/cvs-serv9115
Modified Files:
esistools.py
Log Message:
Only reset _is_empty if needed.
Index: esistools.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tools/sgmlconv/esistools.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** esistools.py 28 Sep 2001 16:26:13 -0000 1.8
--- esistools.py 16 Oct 2002 16:02:08 -0000 1.9
***************
*** 167,174 ****
if self._is_empty:
self._empties[data] = 1
if handler:
handler.startElement(data, self._attributes)
self._attrs.clear()
- self._is_empty = 0
elif token == 'A':
name, value = data.split(' ', 1)
--- 167,174 ----
if self._is_empty:
self._empties[data] = 1
+ self._is_empty = 0
if handler:
handler.startElement(data, self._attributes)
self._attrs.clear()
elif token == 'A':
name, value = data.split(' ', 1)