From 76e6b819a0c2956b1c2ec265310c3d7177950e03 Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Sat, 15 Apr 2006 08:48:45 +0000 Subject: [PATCH] =?UTF-8?q?yerelde=20olu=C5=9Fturulan=20indexler=20i=C3=A7?= =?UTF-8?q?inde=20=C3=A7al=C4=B1=C5=9Fs=C4=B1n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pisi/file.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pisi/file.py b/pisi/file.py index 204716cd..9e30a527 100644 --- a/pisi/file.py +++ b/pisi/file.py @@ -109,6 +109,8 @@ class File: fetch_url(uri, transfer_dir) else: localfile = uri.get_uri() #TODO: use a special function here? + if not os.path.exists(localfile): + raise Error(_("Localfile does not exist")) if sha1sum: