/usr/lib/python2.6/site-packages/oslo_config
NameSizeModeActions
tests/-0755rm
cfg.py925640644editdlrm
cfg.pyc1015810644editdlrm
cfgfilter.py131730644editdlrm
cfgfilter.pyc148280644editdlrm
fixture.py77740644editdlrm
fixture.pyc78200644editdlrm
generator.py94890644editdlrm
generator.pyc94660644editdlrm
iniparser.py42070644editdlrm
iniparser.pyc48450644editdlrm
sphinxconfiggen.py23250644editdlrm
sphinxconfiggen.pyc19270644editdlrm
sphinxext.py52990644editdlrm
sphinxext.pyc59560644editdlrm
types.py125930644editdlrm
types.pyc149540644editdlrm
version.py6590644editdlrm
version.pyc2650644editdlrm
_list_opts.py8760644editdlrm
_list_opts.pyc5830644editdlrm
__init__.py00644editdlrm
__init__.pyc1440644editdlrm
Edit: /usr/lib/python2.6/site-packages/oslo_config/fixture.pyc (7820B)
Ñò yDVc@sEddkZddkZddklZdeifd„ƒYZdS(iÿÿÿÿN(tcfgtConfigcBs’eZdZeid„Zd„Zd„Zd„Zd„Z d d„Z d d„Z d d„Z d d „Zd d „Zd „Zd d „ZRS(sbAllows overriding configuration settings for the test. `conf` will be reset on cleanup. cCs ||_dS(N(tconf(tselfR((s8/tmp/pip-build-lt8jXN/oslo.config/oslo_config/fixture.pyt__init__scCs‚tt|ƒiƒ|i|iƒ|i|iƒ|i|iiƒh|_t |idƒo|ii |_ n d|_ dS(Ntdefault_config_files( tsuperRtsetUpt addCleanupt_reset_default_config_filest_unregister_config_optsRtresett_registered_config_optsthasattrRt_default_config_filestNone(R((s8/tmp/pip-build-lt8jXN/oslo.config/oslo_config/fixture.pyR"s cKsL|iddƒ}x3ti|ƒD]"\}}|ii|||ƒq"WdS(sUOverride configuration values. The keyword arguments are the names of configuration options to override and their values. If a `group` argument is supplied, the overrides are applied to the specified configuration option group, otherwise the overrides are applied to the ``default`` group. tgroupN(tpopRtsixt iteritemsRt set_override(RtkwRtktv((s8/tmp/pip-build-lt8jXN/oslo.config/oslo_config/fixture.pytconfig3s  cCs5x.|iD]#}|ii|i|d|ƒq WdS(NR(R Rtunregister_opts(RR((s8/tmp/pip-build-lt8jXN/oslo.config/oslo_config/fixture.pyR Cs cCsEt|idƒpdS|io|i|i_n d|i_dS(NR(R RRRR(R((s8/tmp/pip-build-lt8jXN/oslo.config/oslo_config/fixture.pyR Hs  cCs9|ii|d|ƒ|ii|tƒƒi|ƒdS(sARegister a single option for the test run. Options registered in this manner will automatically be unregistered during cleanup. If a `group` argument is supplied, it will register the new option to that group, otherwise the option is registered to the ``default`` group. RN(Rt register_optR t setdefaulttsettadd(RtoptR((s8/tmp/pip-build-lt8jXN/oslo.config/oslo_config/fixture.pyRSs cCs(x!|D]}|i|d|ƒqWdS(sURegister multiple options for the test run. This works in the same manner as register_opt() but takes a list of options as the first argument. All arguments will be registered to the same group if the ``group`` argument is supplied, otherwise all options will be registered to the ``default`` group. RN(R(RtoptsRR((s8/tmp/pip-build-lt8jXN/oslo.config/oslo_config/fixture.pyt register_opts`scCs9|ii|d|ƒ|ii|tƒƒi|ƒdS(sRegister a single CLI option for the test run. Options registered in this manner will automatically be unregistered during cleanup. If a `group` argument is supplied, it will register the new option to that group, otherwise the option is registered to the ``default`` group. CLI options must be registered before the command line and config files are parsed. This is to ensure that all CLI options are shown in --help and option validation works as expected. RN(Rtregister_cli_optR RRR(RRR((s8/tmp/pip-build-lt8jXN/oslo.config/oslo_config/fixture.pyR!kscCs(x!|D]}|i|d|ƒqWdS(s*Register multiple CLI options for the test run. This works in the same manner as register_opt() but takes a list of options as the first argument. All arguments will be registered to the same group if the ``group`` argument is supplied, otherwise all options will be registered to the ``default`` group. CLI options must be registered before the command line and config files are parsed. This is to ensure that all CLI options are shown in --help and option validation works as expected. RN(R!(RRRR((s8/tmp/pip-build-lt8jXN/oslo.config/oslo_config/fixture.pytregister_cli_opts|s cKsŸ|iip|iidgƒn|pdn|}tƒ}tƒ||s