imapserver call to OfflineImapError with right arguments
Call to OfflineImapError has the arguments: - message - severity - error code The None argument ir wrong here, we can remove it and then we have three arguments not four.
This commit is contained in:
parent
26efc62ba7
commit
78aeed20a9
@ -332,7 +332,8 @@ class IMAPServer():
|
||||
except imapobj.error as e:
|
||||
raise OfflineImapError("Failed to start "
|
||||
"TLS connection: %s" % str(e),
|
||||
OfflineImapError.ERROR.REPO, None, exc_info()[2])
|
||||
OfflineImapError.ERROR.REPO,
|
||||
exc_info()[2])
|
||||
|
||||
# All __authn_* procedures are helpers that do authentication.
|
||||
# They are class methods that take one parameter, IMAP object.
|
||||
|
Loading…
Reference in New Issue
Block a user