mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
splitfields -> split
This commit is contained in:
parent
add58f95cc
commit
13b3ba4df3
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ def packtree(outfp, dirname):
|
||||||
packtree(outfp, subdirname)
|
packtree(outfp, subdirname)
|
||||||
|
|
||||||
def unixfix(name):
|
def unixfix(name):
|
||||||
comps = name.splitfields(os.sep)
|
comps = name.split(os.sep)
|
||||||
res = ''
|
res = ''
|
||||||
for comp in comps:
|
for comp in comps:
|
||||||
if comp:
|
if comp:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue