Choices should be a list, not a string

This commit is contained in:
Matt Martz 2016-03-01 16:18:56 -06:00 committed by John Barker
parent a103f81513
commit 3d2c5f3016

View file

@ -4,7 +4,7 @@ option_schema = Schema(
{
Required('description'): Any(basestring, [basestring]),
'required': bool,
'choices': Any(list, basestring),
'choices': list,
'aliases': list,
'version_added': Any(basestring, float)
},