#NEWLINE# def delete( self , uid ) : #NEWLINE# #INDENT# logger . info ( 'Mark UID {} with \\Deleted FLAG and expunge.' . format ( int ( uid ) ) ) #NEWLINE# ( mov , data ) = self . connection . uid ( 'STORE' , uid , '+FLAGS' , '(\\Deleted)' ) #NEWLINE# self . connection . expunge ( )