]> git.cworth.org Git - obsolete/notmuch-old/commit
python: add status and message attributes to NotmuchError
authorJustus Winter <4winter@informatik.uni-hamburg.de>
Mon, 26 Sep 2011 01:05:30 +0000 (03:05 +0200)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Thu, 29 Sep 2011 07:07:11 +0000 (09:07 +0200)
commitfc2d353eeb074f3659df3ad60720d119480ab192
treec224072ddf70cf3b20b706973c3b54e59dfc5959
parentdc8a1745e1890853ae26e3d7425c1156556a6136
python: add status and message attributes to NotmuchError

Providing exception objects with meaningful attribute names
is much nicer than using e.args[].

Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
bindings/python/notmuch/globals.py