substitute properties/permissivers in apply_requries

This commit is contained in:
gwen 2013-01-28 09:33:08 +01:00
parent 189053ad03
commit c66dcd09ee

View file

@ -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: