Merge "Fix incorrect string format mapping"

This commit is contained in:
Jenkins
2016-08-03 12:54:09 +00:00
committed by Gerrit Code Review

View File

@@ -170,7 +170,7 @@ def cli_to_array(cli_query):
'string', 'integer', 'float', 'datetime', 'boolean'):
err = ('Invalid value type %(type)s, the type of value'
'should be one of: integer, string, float, datetime,'
' boolean.' % opt['type'])
' boolean.' % opt)
raise ValueError(err)
opts.append(opt)
return opts