path.cat --> join

This commit is contained in:
Guido van Rossum 1991-08-16 13:28:23 +00:00
parent 668317db89
commit 784ca6c835
6 changed files with 14 additions and 14 deletions

View file

@ -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] + '/'