X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=cnotmuch%2Fglobals.py;h=ef2686fc5520ee7a88083b021fcdc072ce825f3f;hp=d9f8d1b465b74b4eff2b3b214fac30e5ba557e8a;hb=dfa9eb8afa66b79800addc2102b4bd153f4495ab;hpb=a5596f375b4867c3a86298b74ddd7a494df2cf71 diff --git a/cnotmuch/globals.py b/cnotmuch/globals.py index d9f8d1b4..ef2686fc 100644 --- a/cnotmuch/globals.py +++ b/cnotmuch/globals.py @@ -29,6 +29,7 @@ class Status(Enum): """ super(Status, self).__init__(statuslist) + @classmethod def status2str(self, status): """Get a string representation of a notmuch_status_t value.""" # define strings for custom error messages