Skip to content

Commit

Permalink
ensure version_detail is not None
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-merzky committed Sep 9, 2024
1 parent 37ddd89 commit aa826a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/radical/utils/get_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ def get_version(paths=None):
raise RuntimeError("Cannot determine version from %s (%s)"
% (paths, err.strip()))

if version_detail is None:
version_detail = version_short

return (version_short, version_base, version_branch,
version_tag, version_detail)

Expand Down

0 comments on commit aa826a1

Please sign in to comment.