summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Peuch <cortex@worlddomination.be>2020-03-18 20:24:20 +0100
committerLaurent Peuch <cortex@worlddomination.be>2020-03-18 20:24:20 +0100
commit5f03050df38a8eaa20de980acc1e318a61fb5262 (patch)
tree5a3b544ae35fdd4b8a5cf8be6d55d95eb9c9b37f
parentb8899451fa861b04568e2a0bb4e3fe4acc0daee3 (diff)
downloadlogilab-common-5f03050df38a8eaa20de980acc1e318a61fb5262.tar.gz
[fix] bad variable name
-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):