Skip to content

Commit 94d5894

Browse files
aylwardthewtex
authored andcommitted
Style: Fix remaining lint issues
1 parent e706163 commit 94d5894

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Utilities/CreateTarball.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
html_output_dir = os.path.join(sys.argv[2], "html", example_dir[example_idx:])
2929

3030
if not os.path.exists( html_output_dir ):
31-
os.makedirs( html_output_dir )
31+
os.makedirs(html_output_dir)
3232

3333
# Copy files to support web editting to the html output.
3434
files_to_copy_to_html_output = []
@@ -74,6 +74,7 @@
7474
os.path.join(html_output_dir, example_name + ".tar.gz"), "w:gz", dereference=True
7575
) as tarfile:
7676
example_dir_idx = example_dir.index(example_name)
77+
7778
def strip_path(tarinfo):
7879
tarinfo.name = tarinfo.name[example_dir_idx - 1 :]
7980
# Put the inputs and outputs into the build directory because the test
@@ -83,6 +84,7 @@ def strip_path(tarinfo):
8384
head, tail = os.path.split(tarinfo.name)
8485
tarinfo.name = os.path.join(head, "CMakeLists.txt")
8586
return tarinfo
87+
8688
for path in files_for_tarball:
8789
tarfile.add(path, filter=strip_path)
8890

0 commit comments

Comments
 (0)