Improve output of '--version'
This commit is contained in:
parent
53b3781fbb
commit
ed60c62432
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ def main():
|
|||
["git", "rev-parse", "HEAD"],
|
||||
cwd=os.path.dirname(os.path.abspath(__file__)),
|
||||
stderr=devnull,
|
||||
)
|
||||
).decode("ascii")
|
||||
hash_msg = " (git %s)" % git_hash[:10]
|
||||
except (OSError, subprocess.CalledProcessError):
|
||||
hash_msg = ""
|
||||
|
|
Loading…
Reference in a new issue