From 256b1988b9243b3493240085f625c8fa4200b2d5 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 23 Feb 2016 11:06:45 +0100 Subject: [PATCH] Fixes #1726 --- thirdparty/clientform/clientform.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/thirdparty/clientform/clientform.py b/thirdparty/clientform/clientform.py index 3ac1534f5..5713966a2 100644 --- a/thirdparty/clientform/clientform.py +++ b/thirdparty/clientform/clientform.py @@ -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