Commit b6beed53 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Disable clearing _code at the moment, until the unstability is solved.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3136 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a6b34374
......@@ -270,7 +270,8 @@ class SkinTemplateItem(ObjectTemplateItem):
for script in object.objectValues(spec=('Script (Python)',)):
if getattr(aq_base(script), '_code', None) is not None:
LOG('Business Template', 0, 'clear _code in %r' % (script,))
script._code = None
# Disable this at the moment, until the unstability is solved.
#script._code = None
self._archive[relative_url] = object
object.wl_clearLocks()
......
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