diff options
Diffstat (limited to 'Tools/scripts/findlinksto.py')
-rwxr-xr-x | Tools/scripts/findlinksto.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/findlinksto.py b/Tools/scripts/findlinksto.py index b4c09ef..b924f27 100755 --- a/Tools/scripts/findlinksto.py +++ b/Tools/scripts/findlinksto.py @@ -36,7 +36,7 @@ def visit(prog, dirname, names): linkto = os.readlink(name) if prog.search(linkto) is not None: print(name, '->', linkto) - except os.error: + except OSError: pass if __name__ == '__main__': |