#NEWLINE# def _delete( self , fname ) : #NEWLINE# #INDENT# os . remove ( fname ) #NEWLINE# try : #NEWLINE# #INDENT# dirname = os . path . dirname ( fname ) #NEWLINE# os . rmdir ( self ) #NEWLINE# os . rmdir ( os . path . dirname ( dirname ) ) #NEWLINE# #UNINDENT# except ( IOError , OSError ) : #NEWLINE# #INDENT# pass