diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-06-07 23:49:20 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-06-07 23:49:20 +0200 |
commit | 3e2ba9c2028f21d11988558f3557905d21e93808 (patch) | |
tree | ac2426a03dbc538fb970cd4fd22a404edb68ce53 /lib/git/async/channel.py | |
parent | be06e87433685b5ea9cfcc131ab89c56cf8292f2 (diff) | |
parent | 898d47d1711accdfded8ee470520fdb96fb12d46 (diff) | |
download | gitpython-3e2ba9c2028f21d11988558f3557905d21e93808.tar.gz |
Merge branch 'stasks' into async
Diffstat (limited to 'lib/git/async/channel.py')
-rw-r--r-- | lib/git/async/channel.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/git/async/channel.py b/lib/git/async/channel.py index 2add9478..2d5ab79c 100644 --- a/lib/git/async/channel.py +++ b/lib/git/async/channel.py @@ -1,10 +1,10 @@ """Contains a queue based channel implementation""" from Queue import ( - Queue, Empty, Full ) +from util import AsyncQueue from time import time import sys @@ -43,7 +43,7 @@ class WChannel(Channel): """initialize this instance, able to hold max_items at once Write calls will block if the channel is full, until someone reads from it""" self._closed = False - self._queue = Queue(max_items) + self._queue = AsyncQueue(max_items) #{ Interface |