String method conversion.

This commit is contained in:
Eric S. Raymond 2001-02-09 05:07:04 +00:00
parent 20e4423ade
commit b49f4a4b15
5 changed files with 13 additions and 20 deletions

View file

@ -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: