python3: more 2to3 fixes

This commit is contained in:
RhodeCode Admin 2023-03-06 23:49:19 +01:00
parent 514144eceb
commit 80911c5892
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ Scm model for RhodeCode
import os.path
import traceback
import logging
import cStringIO
from io import StringIO
from sqlalchemy import func
from zope.cachedescriptors.property import Lazy as LazyProperty

View file

@ -25,7 +25,7 @@ import re
import os
import datetime
import logging
import Queue
import queue
import subprocess
@ -333,7 +333,7 @@ class AsyncSubscriber(Subscriber):
"""
def __init__(self):
self._stop = False
self._eventq = Queue.Queue()
self._eventq = queue.Queue()
self._worker = self.create_worker()
self._worker.start()