#NEWLINE# def delete( self ) : #NEWLINE# #INDENT# 'Delete a configuration.' #NEWLINE# settings = self . get_settings ( ) #NEWLINE# name = input ( 'Please choose an existing configuration: ' ) #NEWLINE# try : #NEWLINE# #INDENT# del settings [ name ] #NEWLINE# self . save_config ( settings ) #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# print ( 'No configuration named {}.' . format ( name ) )