#NEWLINE# def do_mv( self , arg ) : #NEWLINE# #INDENT# 'Move mail from one mailbox to another.' #NEWLINE# try : #NEWLINE# #INDENT# args = docopt . docopt ( 'Usage: cp <dest> <mail_id>...' , arg ) #NEWLINE# #UNINDENT# except SystemExit : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# copy . copy ( self . imap_account , args [ '<mail_id>' ] , arg [ '<dest>' ] ) #NEWLINE# flag . flag ( self . imap_account , args [ '<mail_id>' ] , [ const . FLAG_DELETED ] ) #NEWLINE# self . imap_account . expunge ( )