Update 'almalinux/gitutils/blob_upload.py'

This commit is contained in:
Stepan Oksanichenko 2023-05-11 12:38:27 +00:00
parent 24335e29d2
commit 16e73461cb

View File

@ -133,7 +133,7 @@ def main():
iterator = get_file_iterator(args.file, args.input_metadata)
out_fd = None
if args.output_metadata:
out_fd = open(args.output_metadata, 'wa' if args.append_metadata else 'w')
out_fd = open(args.output_metadata, 'a' if args.append_metadata else 'w')
try:
for rel_path, checksum, checksum_type in iterator:
file_path = normalize_path(rel_path)