#NEWLINE# def exit_config_mode( self , exit_config = 'exit' ) : #NEWLINE# #INDENT# output = '' #NEWLINE# if self . check_enable_mode ( ) : #NEWLINE# #INDENT# self . remote_conn . sendall ( self . normalize_cmd ( exit_config ) ) #NEWLINE# self . set_base_prompt ( ) #NEWLINE# if self . check_enable_mode ( ) : #NEWLINE# #INDENT# raise ValueError ( 'Failed to exit enable mode.' ) #NEWLINE# #UNINDENT# #UNINDENT# return output