diff options
author | Skip Montanaro <skip@pobox.com> | 2007-08-16 14:35:24 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2007-08-16 14:35:24 (GMT) |
commit | 7a98be2efbdc44a6271e3bf6117a1e6c77828414 (patch) | |
tree | 64b6306494f992605ef5bd854dfc9e4922f8b967 /Lib/pkgutil.py | |
parent | c5aba174477a4bdbda31d859ce407c6ee7cef293 (diff) | |
download | cpython-7a98be2efbdc44a6271e3bf6117a1e6c77828414.zip cpython-7a98be2efbdc44a6271e3bf6117a1e6c77828414.tar.gz cpython-7a98be2efbdc44a6271e3bf6117a1e6c77828414.tar.bz2 |
Remove RISCOS support
Diffstat (limited to 'Lib/pkgutil.py')
-rw-r--r-- | Lib/pkgutil.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Lib/pkgutil.py b/Lib/pkgutil.py index 5b6b169..6e93a3e 100644 --- a/Lib/pkgutil.py +++ b/Lib/pkgutil.py @@ -510,10 +510,8 @@ def extend_path(path, name): return path pname = os.path.join(*name.split('.')) # Reconstitute as relative path - # Just in case os.extsep != '.' - sname = os.extsep.join(name.split('.')) - sname_pkg = sname + os.extsep + "pkg" - init_py = "__init__" + os.extsep + "py" + sname_pkg = name + ".pkg" + init_py = "__init__.py" path = path[:] # Start with a copy of the existing path |