[Python-checkins] CVS: python/dist/src/Lib site.py,1.35,1.36
Guido van Rossum
gvanrossum@users.sourceforge.net
Tue, 02 Oct 2001 11:27:11 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv20678
Modified Files:
site.py
Log Message:
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.
Index: site.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/site.py,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** site.py 2001/08/17 18:39:24 1.35
--- site.py 2001/10/02 18:27:09 1.36
***************
*** 268,272 ****
here = os.path.dirname(os.__file__)
__builtin__.license = _Printer(
! "license", "See http://www.pythonlabs.com/products/python2.0/license.html",
["LICENSE.txt", "LICENSE"],
[os.path.join(here, os.pardir), here, os.curdir])
--- 268,272 ----
here = os.path.dirname(os.__file__)
__builtin__.license = _Printer(
! "license", "See http://www.python.org/%.3s/license.html" % sys.version,
["LICENSE.txt", "LICENSE"],
[os.path.join(here, os.pardir), here, os.curdir])