示例#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)