Skip to content

Commit

Permalink
imapserver: fix copy operation
Browse files Browse the repository at this point in the history
  • Loading branch information
devkral authored and rodrigc committed Jul 17, 2020
1 parent 56c2a4b commit e99cb68
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/twisted/mail/imap4.py
Original file line number Diff line number Diff line change
Expand Up @@ -2399,11 +2399,12 @@ def __ebStore(self, failure, tag):


def do_COPY(self, tag, messages, mailbox, uid=0):
mailbox = self._parseMbox(mailbox)
mailbox = _parseMbox(mailbox)
maybeDeferred(self.account.select, mailbox
).addCallback(self._cbCopySelectedMailbox, tag, messages, mailbox, uid
).addErrback(self._ebCopySelectedMailbox, tag
)
).addCallback(self._cbCopySelectedMailbox, tag, messages,
mailbox, uid
).addErrback(self._ebCopySelectedMailbox,
tag)
select_COPY = (do_COPY, arg_seqset, arg_finalastring)


Expand Down

0 comments on commit e99cb68

Please sign in to comment.