#NEWLINE# def _remove_pending_downloads( self ) : #NEWLINE# #INDENT# for ( context , local_filename ) in self . _multipart_downloads : #NEWLINE# #INDENT# if ( ( context . is_cancelled ( ) or context . is_started ( ) ) and os . path . exists ( local_filename ) ) : #NEWLINE# #INDENT# os . remove ( self ) #NEWLINE# #UNINDENT# context . cancel ( )