substitute properties/permissivers in apply_requries
This commit is contained in:
parent
189053ad03
commit
c66dcd09ee
|
@ -647,7 +647,7 @@ def apply_requires(opt, config, permissive=False):
|
||||||
try:
|
try:
|
||||||
value = homeconfig._getattr(shortname, permissive=True)
|
value = homeconfig._getattr(shortname, permissive=True)
|
||||||
except PropertiesOptionError, err:
|
except PropertiesOptionError, err:
|
||||||
permissives = err.proptype
|
properties = err.proptype
|
||||||
if permissive:
|
if permissive:
|
||||||
for perm in settings.permissive:
|
for perm in settings.permissive:
|
||||||
if perm in properties:
|
if perm in properties:
|
||||||
|
|
Loading…
Reference in New Issue