https://bugzilla.wikimedia.org/show_bug.cgi?id=66012

--- Comment #2 from xqt <[email protected]> ---
Reorder objects Error class is derived from seems to work:

class Error(Exception, UnicodeMixin):
...

>>> import pwb
>>> import pywikibot
>>> from pywikibot.exceptions import *
>>> raise Error('foo')

Traceback (most recent call last):
  File "<pyshell#50>", line 1, in <module>
    raise Error('foo')
Error: foo
>>>

-- 
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

Reply via email to