Update 'almalinux/gitutils/blob_upload.py'
This commit is contained in:
parent
24335e29d2
commit
16e73461cb
@ -133,7 +133,7 @@ def main():
|
|||||||
iterator = get_file_iterator(args.file, args.input_metadata)
|
iterator = get_file_iterator(args.file, args.input_metadata)
|
||||||
out_fd = None
|
out_fd = None
|
||||||
if args.output_metadata:
|
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:
|
try:
|
||||||
for rel_path, checksum, checksum_type in iterator:
|
for rel_path, checksum, checksum_type in iterator:
|
||||||
file_path = normalize_path(rel_path)
|
file_path = normalize_path(rel_path)
|
||||||
|
Loading…
Reference in New Issue
Block a user