Python3 support
Change-Id: Icf60ab88682aeda1fee73b35cfe9d3ca3f2ca2be
This commit is contained in:
parent
ee4d151ade
commit
bedb0439f9
|
@ -16,8 +16,8 @@
|
|||
import json
|
||||
import logging
|
||||
import pprint
|
||||
import Queue
|
||||
import select
|
||||
import six.moves
|
||||
import threading
|
||||
import time
|
||||
|
||||
|
@ -182,7 +182,7 @@ class Gerrit(object):
|
|||
self.installed_plugins = None
|
||||
|
||||
def startWatching(self, connection_attempts=-1, retry_delay=5):
|
||||
self.event_queue = Queue.Queue()
|
||||
self.event_queue = six.moves.queue.Queue()
|
||||
watcher = GerritWatcher(self,
|
||||
connection_attempts=connection_attempts,
|
||||
retry_delay=retry_delay)
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
pbr>=0.5.21,<1.0
|
||||
|
||||
paramiko>=1.8.0
|
||||
|
||||
six>=1.7.0
|
||||
|
|
Loading…
Reference in New Issue