comment says it all.

This commit is contained in:
Barış Metin
2005-06-24 13:32:19 +00:00
parent 652138d995
commit 11988073ef
+3
View File
@@ -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)