Commit da98e689 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

[fix] bad variable name

parent 273519197bcc
...@@ -405,7 +405,7 @@ def remove_dead_links(directory, verbose=0): ...@@ -405,7 +405,7 @@ def remove_dead_links(directory, verbose=0):
flag indicating whether information about deleted links should be flag indicating whether information about deleted links should be
printed to stderr, default to False printed to stderr, default to False
""" """
for dirpath, dirname, filenames in walk(directory): for dirpath, dirnames, filenames in walk(directory):
for filename in dirnames + filenames: for filename in dirnames + filenames:
src = join(dirpath, filename) src = join(dirpath, filename)
if islink(src) and not exists(src): if islink(src) and not exists(src):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment