https://bugzilla.wikimedia.org/show_bug.cgi?id=66012
Bug ID: 66012
Summary: Error messages aren't printed
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: [email protected]
Reporter: [email protected]
Web browser: ---
Mobile Platform: ---
The argumet givent to pywikibot.exceptions exceptions aren't printed. Sample:
>>> import pwb
>>> import pywikibot
>>> from pywikibot.exceptions import *
>>> raise Error('foo')
Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
raise Error('foo')
Error
>>> raise Error('foo %s' %'bar')
Traceback (most recent call last):
File "<pyshell#4>", line 1, in <module>
raise Error('foo %s' %'bar')
Error
>>> raise NoPage('Pagename')
Traceback (most recent call last):
File "<pyshell#5>", line 1, in <module>
raise NoPage('Pagename')
NoPage
>>>
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l