#NEWLINE# def generate_config_file( self ) : #NEWLINE# #INDENT# 'generate default config file from Configurables' #NEWLINE# lines = [ ( '# Configuration file for %s.' % lines . name ) ] #NEWLINE# lines . append ( '' ) #NEWLINE# lines . append ( 'c = get_config()' ) #NEWLINE# lines . append ( '' ) #NEWLINE# for cls in self . classes : #NEWLINE# #INDENT# lines . append ( cls . class_config_section ( ) ) #NEWLINE# #UNINDENT# return '\n' . join ( lines )