Add a comment

This commit is contained in:
Mikhail f. Shiryaev 2022-02-10 16:22:32 +01:00
parent dc9a22df00
commit bd3812a462
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4
2 changed files with 3 additions and 1 deletions

View File

@ -58,6 +58,7 @@ RUN apt-get update \
RUN dockerd --version; docker --version
# Architecture of the image when BuildKit/buildx is used
ARG TARGETARCH
# FIXME: psycopg2-binary is not available for aarch64, we skip it for now
RUN test x$TARGETARCH = xarm64 || ( python3 -m pip install \

View File

@ -57,7 +57,7 @@ def parse_args() -> argparse.Namespace:
args = parser.parse_args()
if len(args.suffixes) < 2:
raise parser.error("more than two --suffix should be given")
parser.error("more than two --suffix should be given")
return args
@ -81,6 +81,7 @@ def strip_suffix(suffix: str, images: Images) -> Images:
def check_sources(to_merge: Dict[str, Images]) -> Images:
"""get a dict {arch1: Images, arch2: Images}"""
result = {} # type: Images
first_suffix = ""
for suffix, images in to_merge.items():