예제 #1
0
파일: task.py 프로젝트: m4d3bug/anaconda
    def finish(self):
        """Finish the task run.

        Call this method after the task has stopped. If there was raised
        an exception during the task run, it will be raised here again.
        """
        threadMgr.raise_if_error(self._thread_name)
예제 #2
0
파일: task.py 프로젝트: zhangsju/anaconda
    def finish(self):
        """Finish the task run.

        Call this method after the task has stopped. If there was raised
        an exception during the task run, it will be raised here again.
        """
        threadMgr.raise_if_error(self._thread_name)