devtools/htmlparser.py
changeset 8941 7b26fe71404f
parent 8940 ae898a084da2
child 8951 5cfc0387d63f
--- a/devtools/htmlparser.py	Fri Apr 26 11:53:47 2013 +0200
+++ b/devtools/htmlparser.py	Fri Apr 26 12:10:37 2013 +0200
@@ -39,7 +39,7 @@
         except etree.XMLSyntaxError as exc:
             def save_in(fname=''):
                 file(fname, 'w').write(data)
-            new_exc = AssertionError(u'invalid xml %s' % exc)
+            new_exc = AssertionError(u'invalid document: %s' % exc)
             new_exc.position = exc.position
             raise new_exc