fix typos
This commit is contained in:
parent
a73b4b3465
commit
aa5202396c
@ -366,7 +366,7 @@ class BaseFolder(object):
|
|||||||
raise
|
raise
|
||||||
except OfflineImapError as e:
|
except OfflineImapError as e:
|
||||||
if e.severity > OfflineImapError.ERROR.MESSAGE:
|
if e.severity > OfflineImapError.ERROR.MESSAGE:
|
||||||
raise # buble severe errors up
|
raise # bubble severe errors up
|
||||||
self.ui.error(e, exc_info()[2])
|
self.ui.error(e, exc_info()[2])
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.ui.error(e, "Copying message %s [acc: %s]:\n %s" %\
|
self.ui.error(e, "Copying message %s [acc: %s]:\n %s" %\
|
||||||
|
@ -555,7 +555,7 @@ class IMAPFolder(BaseFolder):
|
|||||||
imapobj = self.imapserver.acquireconnection()
|
imapobj = self.imapserver.acquireconnection()
|
||||||
if not retry_left:
|
if not retry_left:
|
||||||
raise OfflineImapError("Saving msg in folder '%s', "
|
raise OfflineImapError("Saving msg in folder '%s', "
|
||||||
"repository '%s' failed (abort). Server reponded: %s\n"
|
"repository '%s' failed (abort). Server responded: %s\n"
|
||||||
"Message content was: %s" %
|
"Message content was: %s" %
|
||||||
(self, self.getrepository(), str(e), dbg_output),
|
(self, self.getrepository(), str(e), dbg_output),
|
||||||
OfflineImapError.ERROR.MESSAGE)
|
OfflineImapError.ERROR.MESSAGE)
|
||||||
@ -567,7 +567,7 @@ class IMAPFolder(BaseFolder):
|
|||||||
self.imapserver.releaseconnection(imapobj, True)
|
self.imapserver.releaseconnection(imapobj, True)
|
||||||
imapobj = None
|
imapobj = None
|
||||||
raise OfflineImapError("Saving msg folder '%s', repo '%s'"
|
raise OfflineImapError("Saving msg folder '%s', repo '%s'"
|
||||||
"failed (error). Server reponded: %s\nMessage content was: "
|
"failed (error). Server responded: %s\nMessage content was: "
|
||||||
"%s" % (self, self.getrepository(), str(e), dbg_output),
|
"%s" % (self, self.getrepository(), str(e), dbg_output),
|
||||||
OfflineImapError.ERROR.MESSAGE)
|
OfflineImapError.ERROR.MESSAGE)
|
||||||
# Checkpoint. Let it write out stuff, etc. Eg searches for
|
# Checkpoint. Let it write out stuff, etc. Eg searches for
|
||||||
|
Loading…
Reference in New Issue
Block a user