#NEWLINE# def remove_size( self , photosize , remove_dirs = True ) : #NEWLINE# #INDENT# if ( not self . size_exists ( photosize ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# filename = getattr ( self , ( 'get_%s_filename' % photosize . name ) ) ( ) #NEWLINE# if self . image . storage . exists ( remove_dirs ) : #NEWLINE# #INDENT# self . image . storage . delete ( filename )