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