Skip to content

Commit 8a4c71b

Browse files
author
Mark Pilgrim
committed
removed debugging cruft
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40988
1 parent cc03260 commit 8a4c71b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/html5lib/html5parser.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,9 @@ def startTagNew(self, name, attributes):
982982
"""New HTML5 elements, "event-source", "section", "nav",
983983
"article", "aside", "header", "footer", "datagrid", "command"
984984
"""
985-
sys.stderr.write("Warning: Undefined behaviour for start tag %s"%name)
985+
#2007-08-30 - MAP - commenting out this write to sys.stderr because
986+
# it's really annoying me when I run the validator tests
987+
#sys.stderr.write("Warning: Undefined behaviour for start tag %s"%name)
986988
self.startTagOther(name, attributes)
987989
#raise NotImplementedError
988990

0 commit comments

Comments
 (0)