Merge "Fix 'nova-manage config convert'"

This commit is contained in:
Jenkins
2012-03-26 18:42:27 +00:00
committed by Gerrit Code Review

View File

@@ -1455,9 +1455,9 @@ class ConfigCommands(object):
if value is not None:
print '%s = %s' % (key, value)
@args('--infile', dest='file_path', metavar='<path>',
@args('--infile', dest='infile', metavar='<path>',
help='old-style flagfile to convert to config')
@args('--outfile', dest='file_path', metavar='<path>',
@args('--outfile', dest='outfile', metavar='<path>',
help='path for output file. Writes config'
'to stdout if not specified.')
def convert(self, infile, outfile=None):