This commit is contained in:
Miroslav Stampar
2016-07-17 23:30:40 +02:00
parent 3e22cbfed7
commit 1ca633ae64
3 changed files with 4 additions and 4 deletions

View File

@@ -1142,7 +1142,7 @@ def _ParseFileEx(file, base_uri,
try:
form.fixup()
except AttributeError, ex:
if "item is disabled" not in str(ex):
if not any(_ in str(ex) for _ in ("item is disabled", "is readonly")):
raise
return forms