summaryrefslogtreecommitdiff
path: root/Lib/binhex.py
diff options
context:
space:
mode:
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 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: