Fix 'nova-manage config convert'
Fixes bug #965069 Looks like this never worked. The dest of the infile and outfile arguments sets up an unknown kwarg. Change-Id: I428f56564b39f5586229325db03dccb0b4a01ef6
This commit is contained in:
		| @@ -1455,9 +1455,9 @@ class ConfigCommands(object): | |||||||
|             if value is not None: |             if value is not None: | ||||||
|                 print '%s = %s' % (key, value) |                 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') |           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' |           help='path for output file. Writes config' | ||||||
|                'to stdout if not specified.') |                'to stdout if not specified.') | ||||||
|     def convert(self, infile, outfile=None): |     def convert(self, infile, outfile=None): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Mark McLoughlin
					Mark McLoughlin