reqpath is get from option, so reqpath ever exists, cannot raise AttributeError
This commit is contained in:
parent
04aa4e6bf1
commit
f8422c03e8
1 changed files with 0 additions and 3 deletions
|
@ -463,9 +463,6 @@ class Settings(object):
|
|||
# transitive action, force expected
|
||||
value = expected[0]
|
||||
inverse = False
|
||||
except AttributeError:
|
||||
raise AttributeError(_("required option not found: "
|
||||
"{0}").format(reqpath))
|
||||
if (not inverse and
|
||||
value in expected or
|
||||
inverse and value not in expected):
|
||||
|
|
Loading…
Reference in a new issue