From add42a0678aca9014f9307caea8df843d6acee68 Mon Sep 17 00:00:00 2001 From: mlcommons-bot Date: Sat, 23 Nov 2024 15:02:49 +0000 Subject: [PATCH] [Automated Commit] Format Codebase --- get_git_version.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/get_git_version.py b/get_git_version.py index 4b55cc2c82..0524f014ba 100644 --- a/get_git_version.py +++ b/get_git_version.py @@ -1,5 +1,6 @@ import subprocess + def get_git_commit_hash(): try: commit_hash = subprocess.check_output( @@ -10,5 +11,6 @@ def get_git_commit_hash(): except Exception: return "unknown" + if __name__ == "__main__": print(get_git_commit_hash())