From 5f03050df38a8eaa20de980acc1e318a61fb5262 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Wed, 18 Mar 2020 20:24:20 +0100 Subject: [fix] bad variable name --- logilab/common/fileutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.2.1