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.
This commit is contained in:
parent
0e58ff8de8
commit
e37e96df06
|
@ -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])
|
||||
|
||||
|
|
Loading…
Reference in New Issue