]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Sync with latest version of openstack.common.cfg
authorMark McLoughlin <markmc@redhat.com>
Mon, 16 Jul 2012 20:00:15 +0000 (21:00 +0100)
committerJames E. Blair <corvus@inaugust.com>
Thu, 19 Jul 2012 14:57:38 +0000 (14:57 +0000)
commitd211eba148f2ec401dadd62114b9a2ea2c95f11a
tree8ead37d2228911c4d059de71b4296bd026c242be
parent2f7feffc64ac435846fb9ee6c467ce128f66b20d
Sync with latest version of openstack.common.cfg

Cherry picks c1bf456 from Nova.

Changes since last sync:

 - Alphabetize imports in openstack/common/cfg.py
 - make reset() clear defaults and overrides
 - automatically create option groups
 - allow options to be marked as required
 - use a list comprehension instead of map()

Change-Id: Ie17fe855a75b5021b031902aa86031d8ddc06dfd
Reviewed-on: https://review.openstack.org/9867
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: James E. Blair <corvus@inaugust.com>
cinder/openstack/common/cfg.py
cinder/tests/test_flags.py