summaryrefslogtreecommitdiffstats
path: root/Lib/site.py
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2010-08-01 09:02:50 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2010-08-01 09:02:50 (GMT)
commitbda4672b019dfca67c0d97ea7452d33decbd974c (patch)
tree74afb5d8c1c9db499ad9aefe00933c2eb98ea5b4 /Lib/site.py
parent794f5b3559f9ae9b4b54467144c8cd37253ca47c (diff)
downloadcpython-bda4672b019dfca67c0d97ea7452d33decbd974c.zip
cpython-bda4672b019dfca67c0d97ea7452d33decbd974c.tar.gz
cpython-bda4672b019dfca67c0d97ea7452d33decbd974c.tar.bz2
Ensure that test_site actually passes with a framework build
Diffstat (limited to 'Lib/site.py')
-rw-r--r--Lib/site.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/site.py b/Lib/site.py
index 4624bf3..2944934 100644
--- a/Lib/site.py
+++ b/Lib/site.py
@@ -295,7 +295,7 @@ def getsitepackages():
# locations.
from sysconfig import get_config_var
framework = get_config_var("PYTHONFRAMEWORK")
- if framework and "/%s.framework/"%(framework,) in prefix:
+ if framework:
sitepackages.append(
os.path.join("/Library", framework,
sys.version[:3], "site-packages"))