Skip to content

Commit 19aaf63

Browse files
committed
PEP8 format spacing
1 parent 3998249 commit 19aaf63

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/bootstrap/bootstrap.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def _download(path, url, probably_big, verbose, exception):
8080
option = "-s"
8181
run(["curl", option,
8282
"-y", "30", "-Y", "10", # timeout if speed is < 10 bytes/sec for > 30 seconds
83-
"--connect-timeout", "30", # timeout if cannot connect within 30 seconds
83+
"--connect-timeout", "30", # timeout if cannot connect within 30 seconds
8484
"--retry", "3", "-Sf", "-o", path, url],
8585
verbose=verbose,
8686
exception=exception)
@@ -332,7 +332,6 @@ def __init__(self):
332332
self.use_vendored_sources = ''
333333
self.verbose = False
334334

335-
336335
def download_stage0(self):
337336
"""Fetch the build system for Rust, written in Rust
338337
@@ -825,7 +824,7 @@ def check_vendored_status(self):
825824
if not os.path.exists(vendor_dir):
826825
print('error: vendoring required, but vendor directory does not exist.')
827826
print(' Run `cargo vendor` without sudo to initialize the '
828-
'vendor directory.')
827+
'vendor directory.')
829828
raise Exception("{} not found".format(vendor_dir))
830829

831830
if self.use_vendored_sources:
@@ -839,7 +838,7 @@ def check_vendored_status(self):
839838
"\n"
840839
"[source.vendored-sources]\n"
841840
"directory = '{}/vendor'\n"
842-
.format(self.rust_root))
841+
.format(self.rust_root))
843842
else:
844843
if os.path.exists('.cargo'):
845844
shutil.rmtree('.cargo')

0 commit comments

Comments
 (0)