better error message
This commit is contained in:
@ -84,7 +84,6 @@ def validate_callback(callback, callback_params, type_):
|
||||
raise ValueError(_('{0}_params must have an option'
|
||||
' not a {0} for first argument'
|
||||
).format(type_, type(option)))
|
||||
option._set_has_dependency()
|
||||
if force_permissive not in [True, False]: # pragma: optional cover
|
||||
raise ValueError(_('{0}_params must have a boolean'
|
||||
' not a {0} for second argument'
|
||||
|
Reference in New Issue
Block a user