Minor whitespace.

This commit is contained in:
voussoir 2020-02-12 14:32:54 -08:00
parent acafdac830
commit 307c88cd50

View file

@ -175,12 +175,15 @@ def download_bigchunk_range(bigchunk_xy1, bigchunk_xy2, threads=1):
download multiple bigchunks, and yield all of the small chunks.
'''
bigchunks = bigchunk_range_iterator(bigchunk_xy1, bigchunk_xy2)
if threads < 1:
raise ValueError(threads)
if threads == 1:
for (x, y) in bigchunks:
chunks = download_bigchunk(x, y)
yield from chunks
else:
pool = threadpool.ThreadPool(size=threads)
jobs = []