#NEWLINE# def __init__( self ) : #NEWLINE# #INDENT# self . config_home = os . path . join ( click . get_app_dir ( 'OpenConnect Helper' ) ) #NEWLINE# self . config_file = os . path . join ( e . config_home , 'profiles.toml' ) #NEWLINE# fn = self . config_file #NEWLINE# try : #NEWLINE# #INDENT# with open ( fn ) as f : #NEWLINE# #INDENT# self . config = toml . load ( f ) #NEWLINE# #UNINDENT# #UNINDENT# except IOError as e : #NEWLINE# #INDENT# if ( e . errno != errno . ENOENT ) : #NEWLINE# #INDENT# raise click . UsageError ( ( 'Could not open config file: %s' % e ) ) #NEWLINE# #UNINDENT# self . config = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# }