String method conversion.

This commit is contained in:
Eric S. Raymond 2001-02-09 11:51:27 +00:00
parent d8c628bd59
commit fc170b1fd5
19 changed files with 58 additions and 79 deletions

View file

@ -5,7 +5,6 @@
import os
from stat import ST_MTIME
import string
# Print help
def help():
@ -103,7 +102,7 @@ def packtree(outfp, dirname):
packtree(outfp, subdirname)
def unixfix(name):
comps = string.splitfields(name, os.sep)
comps = name.splitfields(os.sep)
res = ''
for comp in comps:
if comp: