Commit e579ec15 authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Julien Muchembled

fixup! [erp5testnode] Use only taskdistribution.TaskDistributor

Removed code from not implemented and not needed compatibility layer.

/reviewed-on nexedi/erp5!525
parent 23fc0adf
......@@ -416,10 +416,6 @@ class TaskDistributor(RPCRetry):
proxy = DummyTaskDistributor()
else:
proxy = ServerProxy(portal_url, allow_none=True)
# create internal proxy to the tool in order to fall-back in case
# of old server
self._tool_proxy = ServerProxy(portal_url, allow_none=True
).portal_task_distribution
super(TaskDistributor, self).__init__(proxy, retry_time,logger)
protocol_revision = self._retryRPC('getProtocolRevision')
if protocol_revision != 1:
......
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