Baby steps (2 to 3 at a time)

This commit is contained in:
Miroslav Stampar
2019-01-22 00:40:48 +01:00
parent 17b79cd21b
commit 7672b9a0a2
36 changed files with 139 additions and 139 deletions

View File

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