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

@ -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)