summaryrefslogtreecommitdiff
path: root/mirrors/management
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2015-02-26 19:36:49 -0600
committerDan McGee <dan@archlinux.org>2015-02-26 19:36:49 -0600
commitcd69fd8aee59e09e2b6f01ad63ad7ac0c5c3cd16 (patch)
tree3e178849016c5d2c44b9747e71591b28268cf2f8 /mirrors/management
parent17b6ce186c6e793417c73e955bfc01b4f4b96864 (diff)
Pylint suggested cleanups
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/management')
-rw-r--r--mirrors/management/commands/mirrorcheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mirrors/management/commands/mirrorcheck.py b/mirrors/management/commands/mirrorcheck.py
index 8c17c78f..1f16a375 100644
--- a/mirrors/management/commands/mirrorcheck.py
+++ b/mirrors/management/commands/mirrorcheck.py
@@ -238,7 +238,7 @@ class MirrorCheckPool(object):
for url in list(urls):
self.tasks.put(url)
self.threads = []
- for i in range(num_threads):
+ for _ in range(num_threads):
thread = Thread(target=mirror_url_worker,
args=(self.tasks, self.logs, location, timeout))
thread.daemon = True