Skip to content

Commit

Permalink
Use six.moves.queue
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Oct 26, 2017
1 parent ba93b62 commit 49ecd03
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/zope/server/taskthreads.py
Expand Up @@ -13,14 +13,11 @@
##############################################################################
"""Threaded Task Dispatcher
"""
import logging
import threading
try:
from Queue import Queue, Empty
except ImportError:
from queue import Queue, Empty
from time import time, sleep
import logging

from six.moves.queue import Queue, Empty
from zope.server.interfaces import ITaskDispatcher
from zope.interface import implementer

Expand Down

0 comments on commit 49ecd03

Please sign in to comment.