Cleanup: remove unused exception value
This commit is contained in:
parent
3d2593b229
commit
0eb1317e70
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue