From: Guido van Rossum Date: Tue, 2 Oct 2001 18:27:09 +0000 (+0000) Subject: Correct the URL for the license (only used when the LICENSE[.txt] file X-Git-Tag: v2.2.1c1~1499 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e37e96df064c7b019111b6f3d06fcbc8797c0514;p=thirdparty%2FPython%2Fcpython.git Correct the URL for the license (only used when the LICENSE[.txt] file is not found). Being fancy: insert the first 3 characters of sys.version in the URL. --- diff --git a/Lib/site.py b/Lib/site.py index dfe658aa327a..86698df60b6a 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -267,7 +267,7 @@ Thanks to CWI, CNRI, BeOpen.com, Digital Creations and a cast of thousands for supporting Python development. See www.python.org for more information.""") here = os.path.dirname(os.__file__) __builtin__.license = _Printer( - "license", "See http://www.pythonlabs.com/products/python2.0/license.html", + "license", "See http://www.python.org/%.3s/license.html" % sys.version, ["LICENSE.txt", "LICENSE"], [os.path.join(here, os.pardir), here, os.curdir])