diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-06-11 16:42:09 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-06-11 16:42:09 +0200 |
commit | e14e3f143e7260de9581aee27e5a9b2645db72de (patch) | |
tree | fc85ccf6a7eaf87b35058915b534ccf634f2ff94 /lib/git/async/task.py | |
parent | 1873db442dc7511fc2c92fbaeb8d998d3e62723d (diff) | |
download | gitpython-e14e3f143e7260de9581aee27e5a9b2645db72de.tar.gz |
Removed commented-out debug code and additional debug printings. Verified it works on py2.4, 2.5 and 2.6
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: |