[Python-checkins] CVS: python/dist/src/Lib site.py,1.26.2.1,1.26.2.2

Guido van Rossum gvanrossum@users.sourceforge.net
Fri, 20 Jul 2001 07:55:30 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv11047

Modified Files:
      Tag: release21-maint
	site.py 
Log Message:
Fix showstopper SF bug #442983: use of site.addsitedir() was broken
because it references the global dirs_in_sys_path which is deleted.
The fix avoids deleting that global.

(My email through python.org or digicool.com is non-functional at the
moment; use gvanrossum@home.com to reach me.)


Index: site.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/site.py,v
retrieving revision 1.26.2.1
retrieving revision 1.26.2.2
diff -C2 -r1.26.2.1 -r1.26.2.2
*** site.py	2001/07/02 16:56:09	1.26.2.1
--- site.py	2001/07/20 14:55:28	1.26.2.2
***************
*** 150,154 ****
                  addsitedir(sitedir)
  
- del dirs_in_sys_path
  
  # Define new built-ins 'quit' and 'exit'.
--- 150,153 ----