projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
git_sha1_gen.py: fix code style
[mesa.git]
/
bin
/
git_sha1_gen.py
diff --git
a/bin/git_sha1_gen.py
b/bin/git_sha1_gen.py
index 7fb5c9907353a536f9137a303942dcf77afc0a22..9d4369ebc06bffe3188608686f1275bc6ecc6f47 100644
(file)
--- a/
bin/git_sha1_gen.py
+++ b/
bin/git_sha1_gen.py
@@
-20,7
+20,7
@@
def get_git_sha1():
'rev-parse',
'HEAD',
], stderr=open(os.devnull, 'w')).decode("ascii")
- except:
+ except
Exception
:
# don't print anything if it fails
git_sha1 = ''
return git_sha1