Choices should be a list, not a string

pull/4420/head
Matt Martz 2016-03-01 16:18:56 -06:00 committed by John Barker
parent a103f81513
commit 3d2c5f3016
1 changed files with 1 additions and 1 deletions

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)
},