From f8d0c01cb0621a13a1df6d3db0f81d0b4cadc05f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Fri, 1 Feb 2008 18:14:55 +0000 Subject: [PATCH] raise it --- pisi/fetcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/fetcher.py b/pisi/fetcher.py index abf74e50..5200e7d4 100644 --- a/pisi/fetcher.py +++ b/pisi/fetcher.py @@ -148,7 +148,7 @@ class Fetcher: if os.stat(self.partial_file).st_size == 0: os.remove(self.partial_file) - FetchError(_('A problem occurred. Please check the archive address and/or permissions again.')) + raise FetchError(_('A problem occurred. Please check the archive address and/or permissions again.')) shutil.move(self.partial_file, self.archive_file)