Corrected exception for pygit2 enums

This commit is contained in:
David Murphy 2025-01-29 13:10:09 -07:00 committed by Daniel Wozniak
parent 03df109113
commit 6d3178c23f

View file

@ -29,7 +29,7 @@ if HAS_PYGIT2:
HAS_PYGIT2_ENUMS = True
except AttributeError:
except ModuleNotFoundError:
HAS_PYGIT2_ENUMS = False