[Python-checkins] python/dist/src/Lib/plat-mac pimp.py,1.26,1.26.4.1
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Mon, 21 Jul 2003 07:55:25 -0700
Update of /cvsroot/python/python/dist/src/Lib/plat-mac
In directory sc8-pr-cvs1:/tmp/cvs-serv27590
Modified Files:
Tag: r23c1-branch
pimp.py
Log Message:
Pimp crashed if you tried to install a non-installable package, in stead
of printing a decent error message. Fixes #773450..
Index: pimp.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/pimp.py,v
retrieving revision 1.26
retrieving revision 1.26.4.1
diff -C2 -d -r1.26 -r1.26.4.1
*** pimp.py 29 Jun 2003 00:09:18 -0000 1.26
--- pimp.py 21 Jul 2003 14:55:22 -0000 1.26.4.1
***************
*** 586,591 ****
will receive a log of what happened."""
! if not self._dict['Download-URL']:
! return "%s: This package needs to be installed manually (no Download-URL field)" % _fmtpackagename(self)
msg = self.downloadPackageOnly(output)
if msg:
--- 586,591 ----
will receive a log of what happened."""
! if not self._dict.get('Download-URL'):
! return "%s: This package needs to be installed manually (no Download-URL field)" % self.fullname()
msg = self.downloadPackageOnly(output)
if msg: