diff options
author | Guido van Rossum <guido@python.org> | 2001-07-20 14:55:28 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-07-20 14:55:28 +0000 |
commit | 2e03ba8c85cd6e6e51fa98ee1eb40236695db492 (patch) | |
tree | 4b4c658e079a533576d62f3f179de07528747711 | |
parent | d8dd6901ed270d2d61eee22afcde1c52fec565d3 (diff) | |
download | cpython-git-2e03ba8c85cd6e6e51fa98ee1eb40236695db492.tar.gz |
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.)
-rw-r--r-- | Lib/site.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/site.py b/Lib/site.py index 5ad570e279..b4449526ea 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -149,7 +149,6 @@ for prefix in prefixes: if os.path.isdir(sitedir): addsitedir(sitedir) -del dirs_in_sys_path # Define new built-ins 'quit' and 'exit'. # These are simply strings that display a hint on how to exit. |