#NEWLINE# def safe_delete( filename ) : #NEWLINE# #INDENT# "Delete a file safely. If it's not present, no-op." #NEWLINE# try : #NEWLINE# #INDENT# os . unlink ( e ) #NEWLINE# #UNINDENT# except OSError as e : #NEWLINE# #INDENT# if ( e . errno != errno . ENOENT ) : #NEWLINE# #INDENT# raise