Merge pull request #116 from roberthdevries/fix-bare-except-build-ffi

Use specific exception instead of bare except in build_ffi.py
pull/115/head^2
David Garske 2026-05-05 11:19:57 -07:00 committed by GitHub
commit d34abdb012
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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: