Skip to content

Commit 9c8c36f

Browse files
committed
tolerate git not being installed
1 parent 04a956d commit 9c8c36f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gittaggers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ def tags(self):
1818
if self.tag_build is None:
1919
try:
2020
self.tag_build = self.git_timestamp_tag()
21-
except subprocess.CalledProcessError:
21+
except (subprocess.CalledProcessError, OSError):
2222
pass
2323
return egg_info.tags(self)

0 commit comments

Comments
 (0)