Commit a3d24d3c authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Klaus Wölfel

fixup! [erp5testnode] Use only taskdistribution.TaskDistributor

Removed code from not implemented and not needed compatibility layer.

/reviewed-on !525
parent 991ad1cf
...@@ -416,10 +416,6 @@ class TaskDistributor(RPCRetry): ...@@ -416,10 +416,6 @@ class TaskDistributor(RPCRetry):
proxy = DummyTaskDistributor() proxy = DummyTaskDistributor()
else: else:
proxy = ServerProxy(portal_url, allow_none=True) 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) super(TaskDistributor, self).__init__(proxy, retry_time,logger)
protocol_revision = self._retryRPC('getProtocolRevision') protocol_revision = self._retryRPC('getProtocolRevision')
if protocol_revision != 1: 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