Skip to content

Commit f35e116

Browse files
committed
satisfy tidy
1 parent c8cce01 commit f35e116

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/bootstrap/bootstrap.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,10 @@ def _download(path, url, probably_big, verbose, exception):
116116
require(["curl", "--version"], exception=platform_is_win32())
117117
run(["curl", option,
118118
"-L", # Follow redirect.
119-
"-y", "30", "-Y", "10", # timeout if speed is < 10 bytes/sec for > 30 seconds
120-
"--connect-timeout", "30", # timeout if cannot connect within 30 seconds
119+
# timeout if speed is < 10 bytes/sec for > 30 seconds
120+
"-y", "30", "-Y", "10",
121+
# timeout if cannot connect within 30 seconds
122+
"--connect-timeout", "30",
121123
"-o", path,
122124
"--retry", "3", "-SRf", url],
123125
verbose=verbose,
@@ -136,7 +138,7 @@ def _download(path, url, probably_big, verbose, exception):
136138
raise
137139

138140

139-
141+
140142
def verify(path, expected, verbose):
141143
"""Check if the sha256 sum of the given path is valid"""
142144
if verbose:

0 commit comments

Comments
 (0)