summaryrefslogtreecommitdiff
path: root/Lib/plat-riscos/rourl2path.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-04-17 08:48:32 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2007-04-17 08:48:32 +0000
commit9d72bb452bced3a100f07f8a9e30c4495a9ec41a (patch)
treec39762a764fcc16f2cfc42e2504e58ff31e159e6 /Lib/plat-riscos/rourl2path.py
parentff11334927ee616d765b54a3851016b76a20bcec (diff)
downloadcpython-git-9d72bb452bced3a100f07f8a9e30c4495a9ec41a.tar.gz
Remove functions in string module that are also string methods. Also remove:
* all calls to functions in the string module (except maketrans) * everything from stropmodule except for maketrans() which is still used
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]