Skip to content

Commit 6ec96b7

Browse files
committed
format code
1 parent 1de91b1 commit 6ec96b7

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

python/private/py_executable.bzl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -830,14 +830,14 @@ def _create_zip_file(ctx, *, output, zip_main, runfiles):
830830
# Smuggle a lambda in via a list to defer that flattening.
831831
[lambda: runfiles.empty_filenames],
832832
map_each = map_zip_empty_filenames,
833-
allow_closure = True
833+
allow_closure = True,
834834
)
835835

836836
def map_zip_runfiles(file):
837837
return (
838838
# NOTE: Use "+" for performance
839-
_get_zip_runfiles_path(file.short_path, workspace_name, legacy_external_runfiles)
840-
+ "=" + file.path
839+
_get_zip_runfiles_path(file.short_path, workspace_name, legacy_external_runfiles) +
840+
"=" + file.path
841841
)
842842

843843
manifest.add_all(runfiles.files, map_each = map_zip_runfiles, allow_closure = True)
@@ -887,6 +887,7 @@ def _get_zip_runfiles_path(path, workspace_name, legacy_external_runfiles):
887887
else:
888888
zip_runfiles_path = path
889889
maybe_workspace = workspace_name + "/"
890+
890891
# NOTE: Use "+" for performance
891892
return _ZIP_RUNFILES_DIRECTORY_NAME + "/" + maybe_workspace + zip_runfiles_path
892893

0 commit comments

Comments
 (0)