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
This commit is contained in:
Dan Prince
2012-01-22 15:44:12 -05:00
parent ae2f8d2275
commit bb15a1624d

View File

@@ -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):