Typo

parent 4b3c41d9
...@@ -4,7 +4,10 @@ Changes ...@@ -4,7 +4,10 @@ Changes
0.25 (Unreleased) 0.25 (Unreleased)
----------------- -----------------
* No change yet. * Bugfix: Remove CONFIG_SITE from environment variables. On some platforms, it
can change any software's libdir name (to things like lib64) and thus
break all other software trying to fetch libraries.
[Cedric de Saint Martin]
0.24 (2012-03-29) 0.24 (2012-03-29)
----------------- -----------------
......
...@@ -65,7 +65,7 @@ SYSTEM_ENVIRONMENT_REMOVE_LIST = [ ...@@ -65,7 +65,7 @@ SYSTEM_ENVIRONMENT_REMOVE_LIST = [
'CONFIG_SITE', 'CONFIG_SITE',
] ]
LOCALE_ENVIRONEMNT_REMOVE_LIST = [ LOCALE_ENVIRONMENT_REMOVE_LIST = [
'LANG', 'LANG',
'LANGUAGE', 'LANGUAGE',
'LC_ADDRESS', 'LC_ADDRESS',
...@@ -108,7 +108,7 @@ def getCleanEnvironment(home_path='/tmp'): ...@@ -108,7 +108,7 @@ def getCleanEnvironment(home_path='/tmp'):
env = os.environ.copy() env = os.environ.copy()
# Clean python related environment variables # Clean python related environment variables
for k in PYTHON_ENVIRONMENT_REMOVE_LIST + SYSTEM_ENVIRONMENT_REMOVE_LIST \ for k in PYTHON_ENVIRONMENT_REMOVE_LIST + SYSTEM_ENVIRONMENT_REMOVE_LIST \
+ LOCALE_ENVIRONEMNT_REMOVE_LIST: + LOCALE_ENVIRONMENT_REMOVE_LIST:
old = env.pop(k, None) old = env.pop(k, None)
if old is not None: if old is not None:
removed_env.append(k) removed_env.append(k)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment