From 182a6ec6545fb97b75c27d5e403925ff9bdd6d04 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Sun, 22 Jan 2012 15:44:12 -0500 Subject: [PATCH] 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 --- bin/nova-manage | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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):