Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
logilab-common
Commits
377a912f5e4d
Commit
da98e689
authored
Mar 18, 2020
by
Laurent Peuch
Browse files
[fix] bad variable name
parent
273519197bcc
Changes
1
Show whitespace changes
Inline
Side-by-side
logilab/common/fileutils.py
View file @
377a912f
...
...
@@ -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
,
dirname
s
,
filenames
in
walk
(
directory
):
for
filename
in
dirnames
+
filenames
:
src
=
join
(
dirpath
,
filename
)
if
islink
(
src
)
and
not
exists
(
src
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment