summaryrefslogtreecommitdiff
path: root/Lib/site.py
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2013-09-07 13:59:17 -0700
committerSenthil Kumaran <senthil@uthcode.com>2013-09-07 13:59:17 -0700
commit8ef519b24f61d6e4307a4886920482c30f93aa7a (patch)
tree657ceb5435caf944ff113fe82dc8e74f035a52d3 /Lib/site.py
parent1b90227c0dbf69048653ef4fc70570bc6399781d (diff)
downloadcpython-git-8ef519b24f61d6e4307a4886920482c30f93aa7a.tar.gz
Fix License URL display and add test to check for license url presence.
Fixes issue #18206 Patch contributed by Berker Peksag and py.user
Diffstat (limited to 'Lib/site.py')
-rw-r--r--Lib/site.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/site.py b/Lib/site.py
index 13e73364ae..7e09701415 100644
--- a/Lib/site.py
+++ b/Lib/site.py
@@ -451,7 +451,8 @@ def setcopyright():
for supporting Python development. See www.python.org for more information.""")
here = os.path.dirname(os.__file__)
builtins.license = _Printer(
- "license", "See http://www.python.org/%.3s/license.html" % sys.version,
+ "license",
+ "See http://www.python.org/download/releases/%.5s/license/" % sys.version,
["LICENSE.txt", "LICENSE"],
[os.path.join(here, os.pardir), here, os.curdir])