Cleanup: remove unused exception value

This commit is contained in:
Campbell Barton 2024-03-29 16:18:28 +11:00
parent 3d2593b229
commit 0eb1317e70
1 changed files with 2 additions and 1 deletions

View File

@ -115,7 +115,8 @@ def git_branch(git_command: str) -> str:
try:
branch = subprocess.check_output([git_command, "rev-parse", "--abbrev-ref", "HEAD"])
except subprocess.CalledProcessError as e:
except subprocess.CalledProcessError:
# No need to print the exception, error text is written to the output already.
sys.stderr.write("Failed to get Blender git branch\n")
sys.exit(1)