diff options
Diffstat (limited to 'lib/sqlalchemy/queue.py')
-rw-r--r-- | lib/sqlalchemy/queue.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/sqlalchemy/queue.py b/lib/sqlalchemy/queue.py index 7ef1ba61b..37e772547 100644 --- a/lib/sqlalchemy/queue.py +++ b/lib/sqlalchemy/queue.py @@ -7,16 +7,9 @@ rare cases be invoked within the ``get()`` method of the Queue itself, producing a ``put()`` inside the ``get()`` and therefore a reentrant condition.""" +from collections import deque from time import time as _time -try: - # py2.4 deque class - from collections import deque -except: - # roll our own... - class deque(list): - def popleft(self): - return self.pop(0) __all__ = ['Empty', 'Full', 'Queue'] |