Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jelle van der Waa
Archweb
Commits
e4f22521
Commit
e4f22521
authored
Jul 22, 2018
by
Jelle van der Waa
🚧
Browse files
QuerySet is an iterable, remove unrequired list(urls)
parent
196b1fd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
mirrors/management/commands/mirrorcheck.py
View file @
e4f22521
...
...
@@ -246,7 +246,7 @@ class MirrorCheckPool(object):
def
__init__
(
self
,
urls
,
location
,
timeout
=
10
,
num_threads
=
10
):
self
.
tasks
=
Queue
()
self
.
logs
=
deque
()
for
url
in
list
(
urls
)
:
for
url
in
urls
:
self
.
tasks
.
put
(
url
)
self
.
threads
=
[]
for
_
in
range
(
num_threads
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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