diff options
Diffstat (limited to 'build_files/utils/make_source_archive.py')
-rwxr-xr-x | build_files/utils/make_source_archive.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/build_files/utils/make_source_archive.py b/build_files/utils/make_source_archive.py index e06be9d5ba7..befd6d84534 100755 --- a/build_files/utils/make_source_archive.py +++ b/build_files/utils/make_source_archive.py @@ -143,8 +143,8 @@ def packages_path(current_directory: Path, cli_args: Any) -> Optional[Path]: return Path(relpath) - -### Manifest creation +# ----------------------------------------------------------------------------- +# Manifest creation def create_manifest( @@ -195,7 +195,8 @@ def packages_to_manifest(outfile: TextIO, packages_dir: Path) -> None: print(path, file=outfile) -### Higher-level functions +# ----------------------------------------------------------------------------- +# Higher-level functions def create_tarball( @@ -249,7 +250,8 @@ def cleanup(manifest: Path) -> None: print("OK") -## Low-level commands +# ----------------------------------------------------------------------------- +# Low-level commands def git_ls_files(directory: Path = Path(".")) -> Iterable[Path]: @@ -265,7 +267,7 @@ def git_ls_files(directory: Path = Path(".")) -> Iterable[Path]: yield path -def git_command(*cli_args: Union[bytes, str, Path] ) -> Iterable[str]: +def git_command(*cli_args: Union[bytes, str, Path]) -> Iterable[str]: """Generator, yields lines of output from a Git command.""" command = ("git", *cli_args) |