Ensure that test_site actually passes with a framework build

This commit is contained in:
Ronald Oussoren 2010-08-01 09:02:50 +00:00
parent 794f5b3559
commit bda4672b01
3 changed files with 4 additions and 7 deletions

View file

@ -173,7 +173,7 @@ def _getuserbase():
if sys.platform == "darwin":
framework = get_config_var("PYTHONFRAMEWORK")
if framework:
return joinuser("~", "Library", framework, "%d.%d"%(
return env_base if env_base else joinuser("~", "Library", framework, "%d.%d"%(
sys.version_info[:2]))
return env_base if env_base else joinuser("~", ".local")