* unpack dir'i de implement et

This commit is contained in:
Eray Özkural
2005-06-21 09:44:03 +00:00
parent 82d7d0840f
commit e4386c63fe
+3
View File
@@ -87,6 +87,9 @@ class ArchiveZip(ArchiveBase):
def unpack_file(self, path, targetDir):
unpack_file(self, lambda f:f==path, targetDir)
def unpack_dir(self, path, targetDir):
unpack_file(self, lambda f:util.subpath(path,f), targetDir)
def unpack(self, targetDir):
super(ArchiveZip, self).unpack(targetDir)