Skip to content

Commit

Permalink
Fix brackets in version string with local changes
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-wagner committed Apr 1, 2019
1 parent 2c5b8df commit 8c23182
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/pygimli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ def _get_branch():
__version__ = get_versions()['version']
if get_versions()["dirty"]:
__version__ = __version__.replace(".dirty", " (with local changes")
if _branch:
__version__ += " on %s branch)" % _branch
else:
__version__ += ")"
if _branch:
__version__ += " on %s branch)" % _branch
else:
__version__ += ")"
del get_versions, _get_branch, _branch

def version():
Expand Down

0 comments on commit 8c23182

Please sign in to comment.