summaryrefslogtreecommitdiffstats
path: root/Lib/binhex.py
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-02-09 05:07:04 (GMT)
committerEric S. Raymond <esr@thyrsus.com>2001-02-09 05:07:04 (GMT)
commitb49f4a4b15228799aad77ba569971a23d21cc4f7 (patch)
treefca74bb59fa56fde8e2a23f209b41157172977d9 /Lib/binhex.py
parent20e4423adef209d2260fd952533dc2360e2d257e (diff)
downloadcpython-b49f4a4b15228799aad77ba569971a23d21cc4f7.zip
cpython-b49f4a4b15228799aad77ba569971a23d21cc4f7.tar.gz
cpython-b49f4a4b15228799aad77ba569971a23d21cc4f7.tar.bz2
String method conversion.
Diffstat (limited to 'Lib/binhex.py')
-rw-r--r--Lib/binhex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/binhex.py b/Lib/binhex.py
index 8189563..5137ccf 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: