Commit 16a4b105 authored by Nicolas Delaby's avatar Nicolas Delaby

remove protocol from Url

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27927 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 409f3044
......@@ -86,8 +86,9 @@ class CacheTool(BaseTool):
if getattr(cp, 'getSpecialiseValue', None) is not None:
memcached_plugin = cp.getSpecialiseValue()
if memcached_plugin is not None:
server = memcached_plugin.getUrlString('')[len('memcached://'):]
init_dict = {
'server': memcached_plugin.getUrlString(),
'server': server,
'server_max_key_length': memcached_plugin.getServerMaxKeyLength(),
'server_max_value_length': memcached_plugin.getServerMaxValueLength(),
}
......
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