summaryrefslogtreecommitdiffstats
path: root/Lib/site.py
diff options
context:
space:
mode:
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 5d2e9ed..16540f6 100644
--- a/Lib/site.py
+++ b/Lib/site.py
@@ -141,10 +141,8 @@ for prefix in prefixes:
"python" + sys.version[:3],
"site-packages"),
os.path.join(prefix, "lib", "site-python")]
- elif os.sep == ':':
- sitedirs = [os.path.join(prefix, "lib", "site-packages")]
else:
- sitedirs = [prefix]
+ sitedirs = [prefix, os.path.join(prefix, "lib", "site-packages")]
for sitedir in sitedirs:
if os.path.isdir(sitedir):
addsitedir(sitedir)