From 89469e7d2ee8ec32e54500c970ce28afb70c736c Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Tue, 2 May 2006 07:22:01 +0000 Subject: [PATCH] let add_to_package support the file renaming in the zip archive with the committed change in 7384. --- pisi/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pisi/package.py b/pisi/package.py index c6f51b04..56e71db9 100644 --- a/pisi/package.py +++ b/pisi/package.py @@ -98,9 +98,9 @@ class Package: self.impl = archive.ArchiveZip(self.filepath, 'zip', mode) - def add_to_package(self, fn): + def add_to_package(self, fn, an=None): """Add a file or directory to package""" - self.impl.add_to_archive(fn) + self.impl.add_to_archive(fn, an) def close(self): """Close the package archive"""