Commit baae4349 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Catch AttributeError.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4152 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1f499401
...@@ -120,7 +120,7 @@ def get_value(self, id, **kw): ...@@ -120,7 +120,7 @@ def get_value(self, id, **kw):
key = self.id key = self.id
key = key[3:] key = key[3:]
value = object.getProperty(key, d=value) value = object.getProperty(key, d=value)
except KeyError: except (KeyError, AttributeError):
value = None value = None
# if normal value is a callable itself, wrap it # if normal value is a callable itself, wrap it
......
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