Merge "Fix for failing services on py3 with kombu driver"

This commit is contained in:
Jenkins
2017-02-08 13:09:06 +00:00
committed by Gerrit Code Review

View File

@@ -32,7 +32,7 @@ class KombuRPCListener(ConsumerMixin):
self._connections = itertools.cycle(connections)
self._callback_queue = callback_queue
self._thread = None
self.connection = self._connections.next()
self.connection = six.next(self._connections)
# TODO(ddeja): Those 2 options should be gathered from config.
self._sleep_time = 1