We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1547995 commit a57f827Copy full SHA for a57f827
tilelang/version.py
@@ -32,7 +32,8 @@ def get_git_commit_id() -> Union[str, None]:
32
cwd=os.path.dirname(os.path.abspath(__file__)),
33
stderr=subprocess.DEVNULL,
34
encoding='utf-8').strip()
35
- except subprocess.SubprocessError:
+ # FileNotFoundError is raised when git is not installed
36
+ except (subprocess.SubprocessError, FileNotFoundError):
37
return None
38
39
0 commit comments