diff options
author | Christian Heimes <christian@cheimes.de> | 2012-11-18 23:59:39 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2012-11-18 23:59:39 (GMT) |
commit | de0b962998af69dff474ec99b7627bcee496d48e (patch) | |
tree | a48df8f829f399deff97d68d04dbe0397748984b /Lib/site.py | |
parent | 8473e5740ffe15134a73f1553b5980de4ce2c619 (diff) | |
download | cpython-de0b962998af69dff474ec99b7627bcee496d48e.zip cpython-de0b962998af69dff474ec99b7627bcee496d48e.tar.gz cpython-de0b962998af69dff474ec99b7627bcee496d48e.tar.bz2 |
Remove sys.platform == 'riscos' checks from some Python and test files. #16501
Diffstat (limited to 'Lib/site.py')
-rw-r--r-- | Lib/site.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/site.py b/Lib/site.py index 468d83e..41bea42 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -300,9 +300,7 @@ def getsitepackages(prefixes=None): continue seen.add(prefix) - if sys.platform == 'riscos': - sitepackages.append(os.path.join(prefix, "Lib", "site-packages")) - elif os.sep == '/': + if os.sep == '/': sitepackages.append(os.path.join(prefix, "lib", "python" + sys.version[:3], "site-packages")) |