[entropy.fetchers] raise InterruptError exception the right way

This commit is contained in:
Fabio Erculiani
2010-09-27 21:00:07 +02:00
parent 84fe13c529
commit 935122ee08
+1 -1
View File
@@ -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 = {}