cwctl.py
changeset 5323 329b4f6d18b4
parent 5302 dfd147de06b2
child 5380 a4e7e87d315f
equal deleted inserted replaced
5322:c0b7687bce3d 5323:329b4f6d18b4
   335         # configuration'specific stuff
   335         # configuration'specific stuff
   336         print
   336         print
   337         helper.bootstrap(cubes, self.config.config_level)
   337         helper.bootstrap(cubes, self.config.config_level)
   338         # input for cubes specific options
   338         # input for cubes specific options
   339         for section in set(sect.lower() for sect, opt, optdict in config.all_options()
   339         for section in set(sect.lower() for sect, opt, optdict in config.all_options()
   340                            if optdict.get('inputlevel') <= self.config.config_level):
   340                            if optdict.get('level') <= self.config.config_level):
   341             if section not in ('main', 'email', 'pyro'):
   341             if section not in ('main', 'email', 'pyro'):
   342                 print '\n' + underline_title('%s options' % section)
   342                 print '\n' + underline_title('%s options' % section)
   343                 config.input_config(section, self.config.config_level)
   343                 config.input_config(section, self.config.config_level)
   344         # write down configuration
   344         # write down configuration
   345         config.save()
   345         config.save()