summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/findlinksto.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-07-01 18:22:34 (GMT)
committerGuido van Rossum <guido@python.org>1991-07-01 18:22:34 (GMT)
commit9c5c80824c0e1b60972e33fcfdfdca20b082df9e (patch)
tree0bbe4d3299e37f8a670d31dacdc7da0f7e087421 /Tools/scripts/findlinksto.py
parentc3f2a3bf93a851686c6690f8ffac09102620493a (diff)
downloadcpython-9c5c80824c0e1b60972e33fcfdfdca20b082df9e.zip
cpython-9c5c80824c0e1b60972e33fcfdfdca20b082df9e.tar.gz
cpython-9c5c80824c0e1b60972e33fcfdfdca20b082df9e.tar.bz2
Renamed path.cat to path.join.
Diffstat (limited to 'Tools/scripts/findlinksto.py')
-rwxr-xr-xTools/scripts/findlinksto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/findlinksto.py b/Tools/scripts/findlinksto.py
index 6a2a75b..9398514 100755
--- a/Tools/scripts/findlinksto.py
+++ b/Tools/scripts/findlinksto.py
@@ -14,7 +14,7 @@ def visit(pattern, dirname, names):
print 'descend into', dirname
n = len(pattern)
for name in names:
- name = path.cat(dirname, name)
+ name = path.join(dirname, name)
try:
linkto = posix.readlink(name)
if linkto[:n] = pattern: