summaryrefslogtreecommitdiff
path: root/Lib/plat-riscos/rourl2path.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/plat-riscos/rourl2path.py')
-rw-r--r--Lib/plat-riscos/rourl2path.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-riscos/rourl2path.py b/Lib/plat-riscos/rourl2path.py
index a5aee3490e..7694f1c3ff 100644
--- a/Lib/plat-riscos/rourl2path.py
+++ b/Lib/plat-riscos/rourl2path.py
@@ -21,7 +21,7 @@ def url2pathname(url):
url = url[2:]
elif url[:2] == '//':
raise RuntimeError, 'Cannot convert non-local URL to pathname'
- components = string.split(url, '/')
+ components = url.split('/')
if not components[0]:
if '$' in components:
del components[0]