Skip to content

Commit

Permalink
Fix raise statement usage
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
wenzeslaus and github-actions[bot] authored Feb 6, 2025
1 parent 06930da commit 75f6f8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion man/build_class_graphical.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@ def main():
short_family, module_family, imgs, year=year, skip_no_image=False
)
else:
raise ValueError(f"Unknown format: {output_format}")
msg = f"Unknown format: {output_format}"
raise ValueError(msg)


if __name__ == "__main__":
Expand Down

0 comments on commit 75f6f8d

Please sign in to comment.