missing properties in PropertiesOptionError
[tiramisu.git] / tiramisu / setting.py
index 9d7838e..abeb4a7 100644 (file)
@@ -377,7 +377,7 @@ def apply_requires(opt, config):
                 except PropertiesOptionError, err:
                     properties = err.proptype
                     raise PropertiesOptionError(_("option '{0}' has requirement's property error: "
-                                                  "{1} {2}").format(opt._name, path, properties))
+                                                  "{1} {2}").format(opt._name, path, properties), properties)
                 except AttributeError:
                     raise AttributeError(_("required option not found: "
                                          "{0}").format(path))