summaryrefslogtreecommitdiff
path: root/Lib/dircache.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-08-16 13:28:23 +0000
committerGuido van Rossum <guido@python.org>1991-08-16 13:28:23 +0000
commit784ca6c835b6e872313532b2df482671d7c68916 (patch)
treeb869d480dbabb19bdf57be6da09dda6d8ffc032b /Lib/dircache.py
parent668317db897185c0cbc2ee97d6344a08d233469c (diff)
downloadcpython-git-784ca6c835b6e872313532b2df482671d7c68916.tar.gz
path.cat --> join
Diffstat (limited to 'Lib/dircache.py')
-rw-r--r--Lib/dircache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dircache.py b/Lib/dircache.py
index b40f76e8a2..1eebbbc61d 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] + '/'