From d0c87c386131a1cea157422d6ba029842d890c50 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 15 Mar 2011 22:41:08 +0000 Subject: [PATCH] add doc --- morituri/common/task.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/morituri/common/task.py b/morituri/common/task.py index 9adb31f..8783d68 100644 --- a/morituri/common/task.py +++ b/morituri/common/task.py @@ -109,7 +109,12 @@ class Task(object, log.Loggable): self._notifyListeners('described', description) self.description = description + # FIXME: does not actually raise def setAndRaiseException(self, exception): + """ + Call this to set a synthetically created exception (and not one + that was actually raised and caught) + """ import traceback stack = traceback.extract_stack()[:-1]