mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-11-26 11:14:23 +01:00
Fix https://github.com/modoboa/modoboa-sievefilters/issues/4 append imaputils to modoboa main repository
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user