Commit b49c312e authored by Yoshinori Okuji's avatar Yoshinori Okuji

Use obj._original instead of obj.self._original.

This should have been just a typo.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@949 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a4d5e48e
......@@ -203,7 +203,7 @@ if HAS_ZODB_RESOURCE_HANDLER:
## for OFS.Image-like objects
if hasattr(obj,'_original'):
obj = obj.self._original._data()
obj = obj._original._data()
elif hasattr(obj,'_data'):
obj = obj._data
elif hasattr(obj,'data'):
......@@ -227,7 +227,7 @@ else:
## for OFS.Image-like objects
if hasattr(obj,'_original'):
obj = obj.self._original._data()
obj = obj._original._data()
elif hasattr(obj,'_data'):
obj = obj._data
elif hasattr(obj,'data'):
......
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