Skip to content

Commit 51c786d

Browse files
committed
fixing indentation
1 parent f92b7b3 commit 51c786d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bazelisk.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,9 @@ def download(url, destination_path, retries=5, wait_seconds=5):
355355
auth = base64.b64encode(("%s:%s" % (creds[0], creds[2])).encode("ascii"))
356356
request.add_header("Authorization", "Basic %s" % auth.decode("utf-8"))
357357

358-
with closing(urlopen(request)) as response, open(destination_path, "wb") as file:
359-
shutil.copyfileobj(response, file)
360-
return
358+
with closing(urlopen(request)) as response, open(destination_path, "wb") as file:
359+
shutil.copyfileobj(response, file)
360+
return
361361
except Exception:
362362
if retries <= 0:
363363
raise

0 commit comments

Comments
 (0)