Skip to content

Commit 04408fa

Browse files
committed
Fix PEP8 in make-win-dist
1 parent 2822bc5 commit 04408fa

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/etc/make-win-dist.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@
1414
# argv[3] = target triple
1515
# The first two correspond to the two installable components defined in the setup script.
1616

17-
import sys, os, shutil, subprocess
17+
import sys
18+
import os
19+
import shutil
20+
import subprocess
21+
1822

1923
def find_files(files, path):
2024
found = []
@@ -28,6 +32,7 @@ def find_files(files, path):
2832
raise Exception("Could not find '%s' in %s" % (fname, path))
2933
return found
3034

35+
3136
def make_win_dist(rust_root, gcc_root, target_triple):
3237
# Ask gcc where it keeps its stuff
3338
gcc_out = subprocess.check_output(["gcc.exe", "-print-search-dirs"])
@@ -114,5 +119,5 @@ def make_win_dist(rust_root, gcc_root, target_triple):
114119
for src in target_libs:
115120
shutil.copy(src, target_lib_dir)
116121

117-
if __name__=="__main__":
122+
if __name__ == "__main__":
118123
make_win_dist(sys.argv[1], sys.argv[2], sys.argv[3])

0 commit comments

Comments
 (0)