* morituri/common/checksum.py:
Actually raise the exception. * morituri/common/task.py: Document interface more clearly. * morituri/test/test_common_checksum.py: Use tcommon for test.common
This commit is contained in:
@@ -73,6 +73,13 @@ class Task(object, log.Loggable):
|
||||
Start the task.
|
||||
|
||||
Subclasses should chain up to me at the beginning.
|
||||
|
||||
Subclass implementations should raise exceptions immediately in
|
||||
case of failure (using set(AndRaise)Exception) first, or do it later
|
||||
using those methods.
|
||||
|
||||
If start doesn't raise an exception, the task should run until
|
||||
complete, or setException and stop().
|
||||
"""
|
||||
self.debug('starting')
|
||||
self.setProgress(self.progress)
|
||||
|
||||
Reference in New Issue
Block a user