Only return a warning message about not all files being unpacked if there

were indeed files that weren't unpacked.
This commit is contained in:
Jack Jansen 2003-04-22 13:56:19 +00:00
parent 8c46ce9add
commit 6432f78215
1 changed files with 2 additions and 1 deletions

View File

@ -131,6 +131,7 @@ class PimpTarUnpacker(PimpUnpacker):
tf.extract(member, self._dir)
if skip:
names = [member.name for member in skip if member.name[-1] != '/']
if names:
return "Not all files were unpacked: %s" % " ".join(names)
ARCHIVE_FORMATS = [