* task.py:

Add a debug statement.
This commit is contained in:
Thomas Vander Stichele
2012-07-12 09:18:52 +00:00
parent 1cfdcb7302
commit b9af80e76d
2 changed files with 7 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2012-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
* task.py:
Add a debug statement.
2011-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
* task.py:

View File

@@ -338,6 +338,8 @@ class BaseMultiTask(Task, ITaskListener):
task.description, self._task, len(self.tasks)))
task.addListener(self)
task.start(self.runner)
self.debug('BaseMultiTask.next(): started task %d of %d: %r',
self._task, len(self.tasks), task)
except Exception, e:
self.setException(e)
self.debug('Got exception during next: %r', self.exceptionMessage)