diff -r ae898a084da2 -r 7b26fe71404f devtools/htmlparser.py --- 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