From 9d72bb452bced3a100f07f8a9e30c4495a9ec41a Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Tue, 17 Apr 2007 08:48:32 +0000 Subject: 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 --- Lib/plat-riscos/rourl2path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/plat-riscos/rourl2path.py') 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] -- cgit v1.2.1