diff options
author | Fred Drake <fdrake@acm.org> | 2002-10-16 16:02:08 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-10-16 16:02:08 (GMT) |
commit | 27c4e09a62cc43fa8ce7dcd142a93d8c9411287f (patch) | |
tree | 9722733ad2209208dfada1d5bf6d7a80e51dcba0 /Doc/tools/sgmlconv | |
parent | df85f0b09f9dbba5fb033fdc67acf0466334abfe (diff) | |
download | cpython-27c4e09a62cc43fa8ce7dcd142a93d8c9411287f.zip cpython-27c4e09a62cc43fa8ce7dcd142a93d8c9411287f.tar.gz cpython-27c4e09a62cc43fa8ce7dcd142a93d8c9411287f.tar.bz2 |
Only reset _is_empty if needed.
Diffstat (limited to 'Doc/tools/sgmlconv')
-rw-r--r-- | Doc/tools/sgmlconv/esistools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/sgmlconv/esistools.py b/Doc/tools/sgmlconv/esistools.py index 6c7c0ae..b9c029b 100644 --- a/Doc/tools/sgmlconv/esistools.py +++ b/Doc/tools/sgmlconv/esistools.py @@ -166,10 +166,10 @@ class ESISReader(xml.sax.xmlreader.XMLReader): elif token == '(': if self._is_empty: self._empties[data] = 1 + self._is_empty = 0 if handler: handler.startElement(data, self._attributes) self._attrs.clear() - self._is_empty = 0 elif token == 'A': name, value = data.split(' ', 1) if value != "IMPLIED": |