Merge pull request #116 from roberthdevries/fix-bare-except-build-ffi
Use specific exception instead of bare except in build_ffi.pypull/115/head^2
commit
d34abdb012
|
|
@ -133,7 +133,7 @@ def checkout_version(version):
|
|||
current = subprocess.check_output(
|
||||
["git", "describe", "--all", "--exact-match"]
|
||||
).strip().decode().split('/')[-1]
|
||||
except:
|
||||
except subprocess.CalledProcessError:
|
||||
pass
|
||||
|
||||
if current != version:
|
||||
|
|
|
|||
Loading…
Reference in New Issue