summaryrefslogtreecommitdiff
path: root/lib/git/async/task.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-06-11 16:47:40 +0200
committerSebastian Thiel <byronimo@gmail.com>2010-06-11 16:47:40 +0200
commit29eb123beb1c55e5db4aa652d843adccbd09ae18 (patch)
treefc85ccf6a7eaf87b35058915b534ccf634f2ff94 /lib/git/async/task.py
parentf606937a7a21237c866efafcad33675e6539c103 (diff)
parente14e3f143e7260de9581aee27e5a9b2645db72de (diff)
downloadgitpython-29eb123beb1c55e5db4aa652d843adccbd09ae18.tar.gz
Merge branch 'cleanup' into async
Diffstat (limited to 'lib/git/async/task.py')
-rw-r--r--lib/git/async/task.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/git/async/task.py b/lib/git/async/task.py
index 49e7e7cf..10b22649 100644
--- a/lib/git/async/task.py
+++ b/lib/git/async/task.py
@@ -88,11 +88,7 @@ class OutputChannelTask(Node):
self._num_writers += 1
self._wlock.release()
- #print "%r: reading %i" % (self.id, count)
- #if hasattr(self, 'reader'):
- # print "from", self.reader().channel
items = self._read(count)
- #print "%r: done reading %i items" % (self.id, len(items))
try:
try:
@@ -117,7 +113,6 @@ class OutputChannelTask(Node):
self._wlock.release()
# END handle writer count
except Exception, e:
- print >> sys.stderr, "task %s error:" % self.id, type(e), str(e) # TODO: REMOVE DEBUG, or make it use logging
# be sure our task is not scheduled again
self.set_done()
@@ -164,7 +159,6 @@ class OutputChannelTask(Node):
self._wlock.acquire()
try:
if self._num_writers == 0:
- # print "Closing channel of %r" % self.id, len(self._out_writer.channel.queue), self._out_writer.channel
self.close()
# END handle writers
finally: