diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-06-11 16:47:40 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-06-11 16:47:40 +0200 |
commit | 29eb123beb1c55e5db4aa652d843adccbd09ae18 (patch) | |
tree | fc85ccf6a7eaf87b35058915b534ccf634f2ff94 /lib/git/async/task.py | |
parent | f606937a7a21237c866efafcad33675e6539c103 (diff) | |
parent | e14e3f143e7260de9581aee27e5a9b2645db72de (diff) | |
download | gitpython-29eb123beb1c55e5db4aa652d843adccbd09ae18.tar.gz |
Merge branch 'cleanup' into async
Diffstat (limited to 'lib/git/async/task.py')
-rw-r--r-- | lib/git/async/task.py | 6 |
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: |