mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
path.cat --> join
This commit is contained in:
parent
668317db89
commit
784ca6c835
6 changed files with 14 additions and 14 deletions
|
@ -32,5 +32,5 @@ opendir = listdir # XXX backward compatibility
|
|||
|
||||
def annotate(head, list): # Add '/' suffixes to directories
|
||||
for i in range(len(list)):
|
||||
if path.isdir(path.cat(head, list[i])):
|
||||
if path.isdir(path.join(head, list[i])):
|
||||
list[i] = list[i] + '/'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue