def result(self):
            "Return execution result or raise an error."
            self.__mutex.acquire()
            if self.__error:
                raise self.__value
            return self.__value
Return execution result or raise an error.
recipes/Python/577633_Directory_Pruner_2/recipe-577633.py