[Python-checkins] python/dist/src/Lib/plat-mac pimp.py,1.17,1.18
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Tue, 22 Apr 2003 06:56:22 -0700
Update of /cvsroot/python/python/dist/src/Lib/plat-mac
In directory sc8-pr-cvs1:/tmp/cvs-serv4035
Modified Files:
pimp.py
Log Message:
Only return a warning message about not all files being unpacked if there
were indeed files that weren't unpacked.
Index: pimp.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/pimp.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** pimp.py 16 Apr 2003 12:15:34 -0000 1.17
--- pimp.py 22 Apr 2003 13:56:19 -0000 1.18
***************
*** 132,136 ****
if skip:
names = [member.name for member in skip if member.name[-1] != '/']
! return "Not all files were unpacked: %s" % " ".join(names)
ARCHIVE_FORMATS = [
--- 132,137 ----
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 = [