commit | a94568a7535de60f1144e4eea0d027b87017a4b4 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Sat May 10 07:36:56 2003 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Sat May 10 07:36:56 2003 +0000 |
tree | 5a8f696ca440a296b18521be17920b48f2021e4c | |
parent | 5467d4c0e31e9db305a4899a44d7978f83e96649 [diff] [blame] |
Patch #734231: Update RiscOS support. In particular, correct riscospath.extsep, and use os.extsep throughout.
diff --git a/Lib/site.py b/Lib/site.py index e862fc2..13522b1 100644 --- a/Lib/site.py +++ b/Lib/site.py
@@ -162,7 +162,7 @@ prefixes.append(sys.exec_prefix) for prefix in prefixes: if prefix: - if sys.platform == 'os2emx': + if sys.platform in ('os2emx', 'riscos'): sitedirs = [os.path.join(prefix, "Lib", "site-packages")] elif os.sep == '/': sitedirs = [os.path.join(prefix,