diff options
author | Ned Deily <nad@acm.org> | 2012-02-06 00:55:50 +0100 |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2012-02-06 00:55:50 +0100 |
commit | 2c8bf04308a078cc8c24dfe16afa816efebeb2da (patch) | |
tree | 74963ad9fa3c36897c8d262f6887962c5bae54e9 /Lib/site.py | |
parent | adb87e2677caad4cd167e4915763dda105bc982c (diff) | |
download | cpython-git-2c8bf04308a078cc8c24dfe16afa816efebeb2da.tar.gz |
Issue #10881: Fix test_site failures with OS X framework builds.
Diffstat (limited to 'Lib/site.py')
-rw-r--r-- | Lib/site.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/site.py b/Lib/site.py index 90cf331339..54e515479a 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -312,7 +312,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")) |