Commit 5ea5be96 authored by Rafael Monnerat's avatar Rafael Monnerat

Missing () , Thanks to Jerome and Yoshinori for the advise...


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22703 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent df4a29b8
No related merge requests found
......@@ -422,7 +422,7 @@ class ProxyField(ZMIField):
proxy_form = getattr(object, self.get_value('form_id'))
proxy_field = aq_base(getattr(proxy_form, self.get_value('field_id')))
proxy_field = proxy_field.__of__(form)
except AttributeError, TypeError:
except (AttributeError, TypeError):
LOG('ProxyField', WARNING,
'Could not get a field from a proxy field %s in %s' % \
(self.id, object.id))
......
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