This commit is contained in:
Miroslav Stampar
2016-08-19 11:07:42 +02:00
parent 63f4b3462f
commit 72e5a79288
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 not any(_ in str(ex) for _ in ("item is disabled", "is readonly")):
if not any(_ in str(ex) for _ in ("is disabled", "is readonly")):
raise
return forms