missing properties in PropertiesOptionError

This commit is contained in:
Emmanuel Garette 2013-04-24 17:40:16 +02:00
parent f28288fbba
commit 509f41e14c
1 changed files with 1 additions and 1 deletions

View 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))