missing properties in PropertiesOptionError
This commit is contained in:
parent
f28288fbba
commit
509f41e14c
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ def apply_requires(opt, config):
|
||||||
except PropertiesOptionError, err:
|
except PropertiesOptionError, err:
|
||||||
properties = err.proptype
|
properties = err.proptype
|
||||||
raise PropertiesOptionError(_("option '{0}' has requirement's property error: "
|
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:
|
except AttributeError:
|
||||||
raise AttributeError(_("required option not found: "
|
raise AttributeError(_("required option not found: "
|
||||||
"{0}").format(path))
|
"{0}").format(path))
|
||||||
|
|
Loading…
Reference in a new issue