Skip to content

Commit

Permalink
Update pyiron_base/project/maintenance.py
Browse files Browse the repository at this point in the history
  • Loading branch information
niklassiemer authored Jul 4, 2022
1 parent cadfa01 commit 463a966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyiron_base/project/maintenance.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def get_repository_status():
else:
try:
hash_ = repo.head.reference.commit.hexsha
except ValueError:
except (ValueError, TypeError):
hash_ = "Error while resolving sha"
if hasattr(module, "__version__"):
version = module.__version__
Expand Down

0 comments on commit 463a966

Please sign in to comment.