From 935122ee080f2cfb56ba8f0ba0f6637b2c39c9bc Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Mon, 27 Sep 2010 21:00:07 +0200 Subject: [PATCH] [entropy.fetchers] raise InterruptError exception the right way --- libraries/entropy/fetchers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/entropy/fetchers.py b/libraries/entropy/fetchers.py index dfe0e1cb2..d2bfdaf95 100644 --- a/libraries/entropy/fetchers.py +++ b/libraries/entropy/fetchers.py @@ -873,7 +873,7 @@ class MultipleUrlFetcher(TextInterface): def __handle_threads_stop(self): if self.__stop_threads: - raise InterruptError + raise InterruptError("interrupted") def _init_vars(self): self.__progress_data = {}