From 11988073efcc5d8ae5c898cf1fc1debd4a13042d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Fri, 24 Jun 2005 13:32:19 +0000 Subject: [PATCH] comment says it all. --- pisi/archive.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pisi/archive.py b/pisi/archive.py index c8bd0033..372d82cb 100644 --- a/pisi/archive.py +++ b/pisi/archive.py @@ -78,6 +78,9 @@ class ArchiveZip(ArchiveBase): def add_to_archive(self, fileName): """A wrapper function to handle working directory sh*t""" + + # Fuck zipfile! It's a pity that it can't handle unicode strings. Grrr! + fileName = str(fileName) cwd = os.getcwd() pathName = os.path.dirname(fileName) fileName = os.path.basename(fileName)