From eaeb075bbc580acc6901bef88a84265eda4da128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Fri, 24 Jun 2005 18:18:01 +0000 Subject: [PATCH] =?UTF-8?q?pathName=20her=20zaman=20olmak=20zorunda=20de?= =?UTF-8?q?=C4=9Fil.=20--=20baris?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pisi/archive.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pisi/archive.py b/pisi/archive.py index 5f93f59c..8a603583 100644 --- a/pisi/archive.py +++ b/pisi/archive.py @@ -85,7 +85,8 @@ class ArchiveZip(ArchiveBase): cwd = os.getcwd() pathName = os.path.dirname(fileName) fileName = os.path.basename(fileName) - os.chdir(pathName) + if pathName: + os.chdir(pathName) self.add_file(fileName) os.chdir(cwd)