From: Guido van Rossum Date: Tue, 7 Jul 1998 22:46:11 +0000 (+0000) Subject: Put back the call to report_unbalanced() that was lost when X-Git-Tag: v1.5.2a1~329 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b84ef9bc617d5b5c2ee21c991ca9d3d97aa5703e;p=python Put back the call to report_unbalanced() that was lost when parse_endtag() was restructured in parse_endtag() and finish_endtag(). --- diff --git a/Lib/sgmllib.py b/Lib/sgmllib.py index 681760854f..d04204971f 100644 --- a/Lib/sgmllib.py +++ b/Lib/sgmllib.py @@ -309,6 +309,8 @@ class SGMLParser: method = getattr(self, 'end_' + tag) except AttributeError: self.unknown_endtag(tag) + else: + self.report_unbalanced(tag) return found = len(self.stack) for i in range(found):