diff --git a/ChangeLog b/ChangeLog index 809da0d..9d0af88 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-08-07 Thomas Vander Stichele + + * morituri/extern/task/task.py: + Also stub out log calls on Runner. + 2011-08-07 Thomas Vander Stichele * morituri/extern/task/task.py: diff --git a/morituri/extern/task/task.py b/morituri/extern/task/task.py index 62a7a24..b0bf6f2 100644 --- a/morituri/extern/task/task.py +++ b/morituri/extern/task/task.py @@ -385,13 +385,30 @@ class MultiCombinedTask(BaseMultiTask): self.setProgress(float(self._stopped) / len(self.tasks)) BaseMultiTask.stopped(self, task) -class TaskRunner(object, log.Loggable): +class TaskRunner(object): """ I am a base class for task runners. Task runners should be reusable. """ logCategory = 'TaskRunner' + ### log stubs + def warning(self, message, *args): + pass + + def info(self, message, *args): + pass + + def debug(self, message, *args): + pass + + def log(self, message, *args): + pass + + def error(self, message, *args): + pass + + def run(self, task): """ Run the given task.