mirror of https://github.com/python/cpython
Refer people to the help pages on failure to load the database.
This commit is contained in:
parent
64509b33a7
commit
36b5198381
|
@ -230,7 +230,9 @@ class PimpInterface:
|
||||||
try:
|
try:
|
||||||
self.pimpdb.appendURL(url)
|
self.pimpdb.appendURL(url)
|
||||||
except IOError, arg:
|
except IOError, arg:
|
||||||
return "Cannot open %s: %s" % (url, 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.
|
# Check whether we can write the installation directory.
|
||||||
# If not, set to the per-user directory, possibly
|
# If not, set to the per-user directory, possibly
|
||||||
# creating it, if needed.
|
# creating it, if needed.
|
||||||
|
|
Loading…
Reference in New Issue