summaryrefslogtreecommitdiffstats
path: root/Lib/site.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2012-11-18 23:59:39 (GMT)
committerChristian Heimes <christian@cheimes.de>2012-11-18 23:59:39 (GMT)
commitde0b962998af69dff474ec99b7627bcee496d48e (patch)
treea48df8f829f399deff97d68d04dbe0397748984b /Lib/site.py
parent8473e5740ffe15134a73f1553b5980de4ce2c619 (diff)
downloadcpython-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.py4
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"))