]> granicus.if.org Git - python/commitdiff
Correct the URL for the license (only used when the LICENSE[.txt] file
authorGuido van Rossum <guido@python.org>
Tue, 2 Oct 2001 18:27:09 +0000 (18:27 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 2 Oct 2001 18:27:09 +0000 (18:27 +0000)
is not found).  Being fancy: insert the first 3 characters of
sys.version in the URL.

Lib/site.py

index dfe658aa327a150d8d497a7a9747af24a213b54f..86698df60b6a084c09d526a8a9dab2470388a9f6 100644 (file)
@@ -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])