#NEWLINE# def _abort_pending_multipart_uploads( self ) : #NEWLINE# #INDENT# for ( upload , filename ) in self . _multipart_uploads : #NEWLINE# #INDENT# if ( upload . is_cancelled ( ) or upload . in_progress ( ) ) : #NEWLINE# #INDENT# upload . cancel_upload ( self . _cancel_upload , args = ( filename , ) )