substitute properties/permissivers in apply_requries
authorgwen <gremond@cadoles.com>
Mon, 28 Jan 2013 08:33:08 +0000 (09:33 +0100)
committergwen <gremond@cadoles.com>
Mon, 28 Jan 2013 08:33:08 +0000 (09:33 +0100)
tiramisu/option.py

index a552d7f..7c16771 100644 (file)
@@ -647,7 +647,7 @@ def apply_requires(opt, config, permissive=False):
                 try:
                     value = homeconfig._getattr(shortname, permissive=True)
                 except PropertiesOptionError, err:
-                    permissives = err.proptype
+                    properties = err.proptype
                     if permissive:
                         for perm in settings.permissive:
                             if perm in properties: