From b3a41b7229ae785af8f35910d0decede03f2ff2b Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Sun, 22 Jan 2012 15:44:12 -0500 Subject: 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(-) (limited to 'bin') 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): -- cgit