Skip to content

Commit

Permalink
Bugfix: UnboundLocalError (resolves #514) (#515)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Büchse <[email protected]>
  • Loading branch information
mbuechse authored Mar 14, 2024
1 parent 5175a98 commit 33860a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tests/iaas/image-metadata/image-md-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ def main(argv):
err += report_stdimage_coverage(images)
except BaseException as e:
print(f"CRITICAL: {e!r}")
return 1 # just return 1 because `err` need not be assigned yet
return err


Expand Down

0 comments on commit 33860a2

Please sign in to comment.