Skip to content

Commit

Permalink
Make it possible to run show_version.py without installation
Browse files Browse the repository at this point in the history
  • Loading branch information
larsevj committed May 10, 2024
1 parent a973635 commit a5b7534
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion komodo/show_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@

from ruamel.yaml import YAML

from komodo.yaml_file_types import ManifestFile
try:
from komodo.yaml_file_types import ManifestFile
except ImportError:
# This is to be able to run show_version.py without installing komodo
from yaml_file_types import ManifestFile


def get_release() -> str:
Expand Down

0 comments on commit a5b7534

Please sign in to comment.