diff options
author | Guido van Rossum <guido@python.org> | 1991-08-16 13:28:23 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-08-16 13:28:23 (GMT) |
commit | 784ca6c835b6e872313532b2df482671d7c68916 (patch) | |
tree | b869d480dbabb19bdf57be6da09dda6d8ffc032b /Lib/dircache.py | |
parent | 668317db897185c0cbc2ee97d6344a08d233469c (diff) | |
download | cpython-784ca6c835b6e872313532b2df482671d7c68916.zip cpython-784ca6c835b6e872313532b2df482671d7c68916.tar.gz cpython-784ca6c835b6e872313532b2df482671d7c68916.tar.bz2 |
path.cat --> join
Diffstat (limited to 'Lib/dircache.py')
-rw-r--r-- | Lib/dircache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dircache.py b/Lib/dircache.py index b40f76e..1eebbbc 100644 --- a/Lib/dircache.py +++ b/Lib/dircache.py @@ -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] + '/' |