require with inverse
This commit is contained in:
@ -651,6 +651,8 @@ class Settings(object):
|
||||
" '{0}' with requirement on: "
|
||||
"'{1}'").format(path, reqpath))
|
||||
if option.impl_is_multi():
|
||||
if index is None:
|
||||
continue
|
||||
idx = index
|
||||
else:
|
||||
idx = None
|
||||
@ -683,8 +685,7 @@ class Settings(object):
|
||||
raise value
|
||||
else:
|
||||
orig_value = value
|
||||
if (not inverse and
|
||||
value in expected or
|
||||
if (not inverse and value in expected or
|
||||
inverse and value not in expected):
|
||||
if debug:
|
||||
if isinstance(orig_value, PropertiesOptionError):
|
||||
|
Reference in New Issue
Block a user