summaryrefslogtreecommitdiffstats
path: root/openstack/common/plugin
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2012-04-24 14:56:07 +0100
committerMark McLoughlin <markmc@redhat.com>2012-04-24 19:08:01 +0100
commit6e4948b95278f86f5bf2925308797c014cb31c59 (patch)
treeca728ebe9e626994d49b8e3f438ddd7a2e688836 /openstack/common/plugin
parent0bfd6e106a88103b0b751a0b010e9e2055061933 (diff)
downloadoslo-6e4948b95278f86f5bf2925308797c014cb31c59.tar.gz
oslo-6e4948b95278f86f5bf2925308797c014cb31c59.tar.xz
oslo-6e4948b95278f86f5bf2925308797c014cb31c59.zip
Some refactoring of the cfg cache
A fairly misc bunch of changes: - init cache before registering config-file and just let register_cli_opt() clear the empty cache - use @__clear_cache on set_default() and set_override() since these are just used by the unit tests and doing so allows us to kill _remove_from_cache() - use @__clear_cache on reset() too - remove recursion from _get() and the substitute param - just use (group_name, opt_name) as the cache key Change-Id: I66934e748eca9ec03e44d7f80a7e10d96a77d8eb
Diffstat (limited to 'openstack/common/plugin')
0 files changed, 0 insertions, 0 deletions