diff options
| author | Dan Prince <dan.prince@rackspace.com> | 2012-01-22 15:44:12 -0500 |
|---|---|---|
| committer | Dan Prince <dan.prince@rackspace.com> | 2012-01-22 15:48:10 -0500 |
| commit | b3a41b7229ae785af8f35910d0decede03f2ff2b (patch) | |
| tree | 8f49274c9eb1d6c83e1e5382a1117b18eef86520 /bin | |
| parent | c233b8eaafe01cdaabb02a181d73c85a7d37ce17 (diff) | |
| download | nova-b3a41b7229ae785af8f35910d0decede03f2ff2b.tar.gz nova-b3a41b7229ae785af8f35910d0decede03f2ff2b.tar.xz nova-b3a41b7229ae785af8f35910d0decede03f2ff2b.zip | |
Fix 'nova-manage config list'
Fixes nova-manage config list to work with the latest flags
implementation in nova Essex. Fixes LP bug #920157.
Change-Id: I3321dc68e4a571354d62836b39f887b0fc2e9877
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/nova-manage | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/nova-manage b/bin/nova-manage index 902fbba96..9951785ee 100755 --- a/bin/nova-manage +++ b/bin/nova-manage @@ -2215,7 +2215,9 @@ class ConfigCommands(object): pass def list(self): - print FLAGS.FlagsIntoString() + for key, value in FLAGS.FlagValuesDict().iteritems(): + if value is not None: + print '%s = %s' % (key, value) class GetLogCommands(object): |
