Commit c11a7480 authored by Nicolas Dumazet's avatar Nicolas Dumazet

instanciate Memcached Tool as a portal type class instead of creating a Document

directly


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43305 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 98bfee4f
......@@ -238,7 +238,7 @@ def _recreateMemcachedTool(portal):
from Products.ERP5Type.Tool import MemcachedTool
reload(MemcachedTool)
portal.manage_delObjects(['portal_memcached'])
portal._setObject('portal_memcached', MemcachedTool.MemcachedTool())
portal.newContent(id='portal_memcached', portal_type="Memcached Tool")
# test runner shared functions
def getMySQLArguments():
......
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