[Python-checkins] python/dist/src/Mac/Tools/IDE PackageManager.py,1.7,1.8
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Wed, 16 Apr 2003 05:40:25 -0700
Update of /cvsroot/python/python/dist/src/Mac/Tools/IDE
In directory sc8-pr-cvs1:/tmp/cvs-serv15575
Modified Files:
PackageManager.py
Log Message:
Refer people to the help pages on failure to load the database.
Index: PackageManager.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Tools/IDE/PackageManager.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** PackageManager.py 16 Apr 2003 12:17:56 -0000 1.7
--- PackageManager.py 16 Apr 2003 12:40:21 -0000 1.8
***************
*** 231,235 ****
self.pimpdb.appendURL(url)
except IOError, arg:
! return "Cannot open %s: %s" % (url, arg)
# Check whether we can write the installation directory.
# If not, set to the per-user directory, possibly
--- 231,237 ----
self.pimpdb.appendURL(url)
except IOError, arg:
! rv = "Cannot open %s: %s\n" % (url, arg)
! rv += "\nSee MacPython Package Manager help page."
! return rv
# Check whether we can write the installation directory.
# If not, set to the per-user directory, possibly