def make_config(): conf = cfg.ConfigOpts() conf.register_cli_opts(cli_opts) log.register_options(conf) return conf