This commit is contained in:
Miroslav Stampar 2016-02-23 11:06:45 +01:00
parent c99e974be2
commit 256b1988b9

View File

@ -1139,7 +1139,11 @@ def _ParseFileEx(file, base_uri,
type, name, attrs, select_default=select_default, index=ii*10)
forms.append(form)
for form in forms:
form.fixup()
try:
form.fixup()
except AttributeError, ex:
if "item is disabled" not in str(ex):
raise
return forms