A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2002-October/030234.html below:

[Python-checkins] python/dist/src/Doc/tools/sgmlconv esistools.py,1.8,1.9

[Python-checkins] python/dist/src/Doc/tools/sgmlconv esistools.py,1.8,1.9fdrake@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)





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4