summaryrefslogtreecommitdiff
path: root/lib/git/async/task.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-06-06 21:15:13 +0200
committerSebastian Thiel <byronimo@gmail.com>2010-06-06 21:31:51 +0200
commit1b27292936c81637f6b9a7141dafaad1126f268e (patch)
treef629d098429099934a35798312e6e0660df0d677 /lib/git/async/task.py
parentb3cde0ee162b8f0cb67da981311c8f9c16050a62 (diff)
downloadgitpython-1b27292936c81637f6b9a7141dafaad1126f268e.tar.gz
Plenty of fixes in the chunking routine, made possible by a serialized chunking test. Next up, actual async processing
Diffstat (limited to 'lib/git/async/task.py')
-rw-r--r--lib/git/async/task.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/async/task.py b/lib/git/async/task.py
index d2422773..ec650237 100644
--- a/lib/git/async/task.py
+++ b/lib/git/async/task.py
@@ -58,7 +58,7 @@ class OutputChannelTask(Node):
# if we didn't get all demanded items, which is also the case if count is 0
# we have depleted the input channel and are done
- if len(items) != count:
+ if not items or len(items) != count:
self.set_done()
# END handle done state
#{ Configuration