Fix https://github.com/modoboa/modoboa-sievefilters/issues/4 append imaputils to modoboa main repository

This commit is contained in:
Stéphane Klein
2015-05-12 11:43:17 +02:00
parent 4d0ee14a80
commit 6a4ea48e7f
4 changed files with 492 additions and 0 deletions
+9
View File
@@ -66,3 +66,12 @@ class PermDeniedException(ModoboaException):
if self.msg:
return _("Permission denied: %s" % self.msg)
return _("Permission denied")
class ImapError(ModoboaException):
def __init__(self, reason):
self.reason = reason
def __str__(self):
return str(self.reason)