Skip to content

Commit

Permalink
Print filename correctly in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Caspar van Leeuwen committed Sep 24, 2024
1 parent 26a5a62 commit 4797e6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eessi/testsuite/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
try:
file = open(pyproject_toml, 'r')
except FileNotFoundError:
msg = "File %s not found when trying to extract the EESSI test suite version from pyproject.toml."
msg += "This should never happen. Please report an issue on GitHub, including information on how you"
msg = "File %s not found when trying to extract the EESSI test suite version from" % pyproject_toml
msg += " pyproject.toml. This should never happen. Please report an issue on GitHub, including information on how you"
msg += " installed the EESSI test suite. Defaulting to version 0.0.0"
print(msg)
__version__ = "0.0.0"
Expand Down

0 comments on commit 4797e6b

Please sign in to comment.