mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-04-15 23:47:24 +02:00
Fixed B007 (unused-loop-control-variable)
This commit is contained in:
committed by
Joshua Tauberer
parent
c953e5784d
commit
57d05c1ab2
@@ -148,7 +148,7 @@ def du(path):
|
||||
# soft and hard links.
|
||||
total_size = 0
|
||||
seen = set()
|
||||
for dirpath, dirnames, filenames in os.walk(path):
|
||||
for dirpath, _dirnames, filenames in os.walk(path):
|
||||
for f in filenames:
|
||||
fp = os.path.join(dirpath, f)
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user