summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/findlinksto.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-01-01 19:35:13 (GMT)
committerGuido van Rossum <guido@python.org>1992-01-01 19:35:13 (GMT)
commitbdfcfccbe591e15221f35add01132174c9b4e669 (patch)
tree7e5f0d52b8c44e623b12e8f4b5cd645c361e5aeb /Tools/scripts/findlinksto.py
parent4d8e859e8f0a209a7e999ce9cc0988156c795949 (diff)
downloadcpython-bdfcfccbe591e15221f35add01132174c9b4e669.zip
cpython-bdfcfccbe591e15221f35add01132174c9b4e669.tar.gz
cpython-bdfcfccbe591e15221f35add01132174c9b4e669.tar.bz2
New == syntax
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 9398514..a8051c1 100755
--- a/Tools/scripts/findlinksto.py
+++ b/Tools/scripts/findlinksto.py
@@ -17,7 +17,7 @@ def visit(pattern, dirname, names):
name = path.join(dirname, name)
try:
linkto = posix.readlink(name)
- if linkto[:n] = pattern:
+ if linkto[:n] == pattern:
print name, '->', linkto
except posix.error:
pass