#NEWLINE# def __init__( self , config_file_path , generate_if_not_found = True ) : #NEWLINE# #INDENT# if ( not os . path . isfile ( config_file_path ) ) : #NEWLINE# #INDENT# if generate_if_not_found : #NEWLINE# #INDENT# self . reset_configfile ( config_file_path ) #NEWLINE# #UNINDENT# if os . path . isfile ( config_file_path ) : #NEWLINE# #INDENT# raise ConfigurationFileInitialized ( ( 'No configuration file found.\nA new file has been initialized at: %s\nPlease review the configuration and retry...' % config_file_path ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise ConfigurationFileNotFound ( ( 'cannot load config file %s' % config_file_path ) ) #NEWLINE# #UNINDENT# #UNINDENT# super ( Config , self ) . __init__ ( generate_if_not_found )