Python3 support

Change-Id: Icf60ab88682aeda1fee73b35cfe9d3ca3f2ca2be
This commit is contained in:
Chmouel Boudjnah 2014-07-29 09:52:32 +02:00
parent ee4d151ade
commit bedb0439f9
2 changed files with 4 additions and 2 deletions

View File

@ -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)

View File

@ -1,3 +1,5 @@
pbr>=0.5.21,<1.0
paramiko>=1.8.0
six>=1.7.0