summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--logilab/common/fileutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/logilab/common/fileutils.py b/logilab/common/fileutils.py
index 1b1ed5b..ffe98ff 100644
--- a/logilab/common/fileutils.py
+++ b/logilab/common/fileutils.py
@@ -405,7 +405,7 @@ def remove_dead_links(directory, verbose=0):
flag indicating whether information about deleted links should be
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:
src = join(dirpath, filename)
if islink(src) and not exists(src):