jjlee / mechanize

Stateful programmatic web browsing in Python, after Andy Lester's Perl module WWW::Mechanize .
http://wwwsearch.sourceforge.net/mechanize/
618 stars 121 forks source link

str(mechanize.ParseError()) traceback #25

Closed jjlee closed 14 years ago

jjlee commented 14 years ago

To reproduce: print str(mechanize.ParseError("spam"))

Expect: "spam" printed Got: File "/usr/lib/python2.6/HTMLParser.py", line 59, in str result = self.msg AttributeError: 'ParseError' object has no attribute 'msg'

jjlee commented 14 years ago

Fix str(ParseError()) traceback

Closed by 4d3695ad896f01a85b8e0f33317749e4bd652c7c