364 config.input_config('main', self.config.config_level) |
364 config.input_config('main', self.config.config_level) |
365 # configuration'specific stuff |
365 # configuration'specific stuff |
366 print |
366 print |
367 helper.bootstrap(cubes, self.config.config_level) |
367 helper.bootstrap(cubes, self.config.config_level) |
368 # input for cubes specific options |
368 # input for cubes specific options |
369 for section in set(sect.lower() for sect, opt, optdict in config.all_options() |
369 sections = set(sect.lower() for sect, opt, odict in config.all_options() |
370 if optdict.get('level') <= self.config.config_level): |
370 if 'type' in odict |
|
371 and odict.get('level') <= self.config.config_level) |
|
372 for section in sections: |
371 if section not in ('main', 'email', 'pyro'): |
373 if section not in ('main', 'email', 'pyro'): |
372 print '\n' + underline_title('%s options' % section) |
374 print '\n' + underline_title('%s options' % section) |
373 config.input_config(section, self.config.config_level) |
375 config.input_config(section, self.config.config_level) |
374 # write down configuration |
376 # write down configuration |
375 config.save() |
377 config.save() |