From 31a70530041ca41c5090b718046674a97e3e55f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Mon, 27 Mar 2006 09:44:01 +0000 Subject: [PATCH] * fix: decompress local file (thanks cartman for reporting) --- pisi/file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/file.py b/pisi/file.py index 2e0169a1..5f08e9bc 100644 --- a/pisi/file.py +++ b/pisi/file.py @@ -92,7 +92,6 @@ class File: fetch_url(uri, transfer_dir) else: localfile = uri.get_uri() #TODO: use a special function here? - localfile = File.decompress(localfile, self.compress) if sha1sum: @@ -121,6 +120,7 @@ class File: raise Error(_("Remote write not implemented")) else: localfile = uri.get_uri() #TODO: use a special function here? + localfile = File.decompress(localfile, self.compress) if self.mode == File.read: access = 'r'