Beispiel #1
0
 def load_config(self):
     ''' Load the configuration '''
     try:
         self.config = config.Config()
         self.config.load(self.args.config)
     except ConfigurationError, exc:
         self.log_error(exc, False)
Beispiel #2
0
 def load_config(self):
     ''' Load the configuration '''
     try:
         self.config = config.Config()
         self.config.load(self.args.config)
         if self.args.manifest:
             self.config.manifest = self.args.manifest
     except ConfigurationError as exc:
         self.log_error(exc, False)
Beispiel #3
0
 def load_config(self):
     ''' Load the configuration '''
     try:
         self.config = config.Config()
         if self.args.command == 'shell':
             self.config.for_shell = True
         self.config.load(self.args.config, self.args.variants)
         if self.args.manifest:
             self.config.manifest = self.args.manifest
     except ConfigurationError as exc:
         self.log_error(exc, False)