Kaydet (Commit) 7236370a authored tarafından Xisco Fauli's avatar Xisco Fauli

pywizards: handle exception

Change-Id: Ia53cf4e2ab8f2e2905b1dc24ac7d6b17e9330154
üst 4dead7b1
......@@ -102,9 +102,12 @@ class TextFieldHandler(object):
TextFieldHandler.dictTextFields[_FieldName]
except KeyError:
return None
if hasattr(DependentTextFields, "TextFieldMaster"):
DependentTextFields.TextFieldMaster.Content = _FieldContent
self.refreshTextFields()
try:
if hasattr(DependentTextFields, "TextFieldMaster"):
DependentTextFields.TextFieldMaster.Content = _FieldContent
self.refreshTextFields()
except UnknownPropertyException:
pass
def updateDocInfoFields(self):
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment