(self)
return skytools.Config(self.service_name, conf_file,
                               user_defs = self.cf_defaults,
                               override = self.cf_override)
Loads and returns skytools.Config instance.

        By default it uses first command-line argument as config
        file name.  Can be overridden.
Loads and returns skytools.Config instance.
Loads and returns skytools . Config instance .
def load_config(self):
        """Loads and returns skytools.Config instance.

        By default it uses first command-line argument as config
        file name.  Can be overridden.
        """

        if len(self.args) < 1:
            print("need config file, use --help for help.")
            sys.exit(1)
        conf_file = self.args[0]
        return skytools.Config(self.service_name, conf_file,
                               user_defs = self.cf_defaults,
                               override = self.cf_override)
def load_config ( self ) : if len ( self . args ) < 1 : print ( "need config file, use --help for help." ) sys . exit ( 1 ) conf_file = self . args [ 0 ] return skytools . Config ( self . service_name , conf_file , user_defs = self . cf_defaults , override = self . cf_override )