summaryrefslogtreecommitdiffstats
path: root/Lib/lib-stdwin/dirwin.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-08-16 13:28:23 (GMT)
committerGuido van Rossum <guido@python.org>1991-08-16 13:28:23 (GMT)
commit784ca6c835b6e872313532b2df482671d7c68916 (patch)
treeb869d480dbabb19bdf57be6da09dda6d8ffc032b /Lib/lib-stdwin/dirwin.py
parent668317db897185c0cbc2ee97d6344a08d233469c (diff)
downloadcpython-784ca6c835b6e872313532b2df482671d7c68916.zip
cpython-784ca6c835b6e872313532b2df482671d7c68916.tar.gz
cpython-784ca6c835b6e872313532b2df482671d7c68916.tar.bz2
path.cat --> join
Diffstat (limited to 'Lib/lib-stdwin/dirwin.py')
-rw-r--r--Lib/lib-stdwin/dirwin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-stdwin/dirwin.py b/Lib/lib-stdwin/dirwin.py
index 0b3b5db..d0a8525 100644
--- a/Lib/lib-stdwin/dirwin.py
+++ b/Lib/lib-stdwin/dirwin.py
@@ -11,7 +11,7 @@ import dircache
def action(w, string, i, detail):
(h, v), clicks, button, mask = detail
if clicks = 2:
- name = path.cat(w.name, string)
+ name = path.join(w.name, string)
try:
w2 = anywin.open(name)
w2.parent = w
@@ -19,7 +19,7 @@ def action(w, string, i, detail):
stdwin.message('Can\'t open ' + name + ': ' + why[1])
def open(name):
- name = path.cat(name, '')
+ name = path.join(name, '')
list = dircache.opendir(name)[:]
list.sort()
dircache.annotate(name, list)