Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-04-14 04:41:39 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-04-14 04:41:39 +0300
commit74cbe6d52cf4ee76ded092e7c6d828b9bfabbf77 (patch)
treee6bba6111edb421a70c462b8fcc9063af7123fb2
parente45a57656ce2d934a38a9c90c131ca31e84a1623 (diff)
Cleanup: resolve type hinting error with make_source_archive
-rwxr-xr-xbuild_files/utils/make_source_archive.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_files/utils/make_source_archive.py b/build_files/utils/make_source_archive.py
index f9f3f59849f..2ef6dccd5be 100755
--- a/build_files/utils/make_source_archive.py
+++ b/build_files/utils/make_source_archive.py
@@ -6,7 +6,7 @@ import os
import re
import subprocess
from pathlib import Path
-from typing import Iterable, TextIO, Optional, Any
+from typing import Iterable, TextIO, Optional, Any, Union
# This script can run from any location,
# output is created in the $CWD
@@ -264,7 +264,7 @@ def git_ls_files(directory: Path = Path(".")) -> Iterable[Path]:
yield path
-def git_command(*cli_args) -> 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)