#NEWLINE# def delete_backup( tmux_id ) : #NEWLINE# #INDENT# 'delete backup by tmux_id (backup name) ' #NEWLINE# tmux_dir = os . path . join ( config . BACKUP_PATH , tmux_id ) #NEWLINE# try : #NEWLINE# #INDENT# shutil . rmtree ( tmux_dir ) #NEWLINE# return 0 #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# return 1