This commit is contained in:
Emmanuel Garette 2013-08-20 16:48:19 +02:00
parent 2e8c75a602
commit d971448d02
1 changed files with 9 additions and 8 deletions

View File

@ -376,8 +376,9 @@ class Settings(object):
path = descr.impl_get_path_by_opt(option)
if path == optpath or path.startswith(optpath + '.'):
raise RequirementError(_("malformed requirements "
"imbrication detected for option: '{0}' "
"with requirement on: '{1}'").format(optpath, path))
"imbrication detected for option:"
" '{0}' with requirement on: "
"'{1}'").format(optpath, path))
try:
value = self.context._getattr(path, force_permissive=True)
except PropertiesOptionError, err: