Closed jjlee closed 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'
Fix str(ParseError()) traceback
Closed by 4d3695ad896f01a85b8e0f33317749e4bd652c7c
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'