From b49f4a4b15228799aad77ba569971a23d21cc4f7 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 9 Feb 2001 05:07:04 +0000 Subject: String method conversion. --- Lib/binhex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/binhex.py') diff --git a/Lib/binhex.py b/Lib/binhex.py index 8189563944..5137ccf956 100644 --- a/Lib/binhex.py +++ b/Lib/binhex.py @@ -102,7 +102,7 @@ else: dsize = fp.tell() fp.close() dir, file = os.path.split(name) - file = string.replace(file, ':', '-', 1) + file = file.replace(':', '-', 1) return file, finfo, dsize, 0 class openrsrc: -- cgit v1.2.1