Skip to content

Commit

Permalink
cmd-compress: print skipped artifacts more nicely
Browse files Browse the repository at this point in the history
  • Loading branch information
jlebon authored and dustymabe committed Feb 8, 2022
1 parent 707d3ef commit b5b0e27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cmd-compress
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def compress_one_builddir(builddir):
rm_allow_noent(filepath[:-3])

if len(skipped) > 0:
print(f"Skipped artifacts: {skipped}")
print(f"Skipped artifacts: {' '.join(skipped)}")
if at_least_one:
print(f"Updated: {buildmeta_path}")
return at_least_one
Expand Down Expand Up @@ -251,9 +251,9 @@ def uncompress_one_builddir(builddir):
rm_allow_noent(filepath[:-3])

if len(skipped) > 0:
print(f"Skipped artifacts: {skipped}")
print(f"Skipped artifacts: {' '.join(skipped)}")
if len(skipped_missing) > 0:
print(f"Skipped missing artifacts: {skipped_missing}")
print(f"Skipped missing artifacts: {' '.join(skipped_missing)}")
if at_least_one:
print(f"Updated: {buildmeta_path}")
return at_least_one
Expand Down

0 comments on commit b5b0e27

Please sign in to comment.