mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Corrected exception for pygit2 enums
This commit is contained in:
parent
03df109113
commit
6d3178c23f
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ if HAS_PYGIT2:
|
|||
|
||||
HAS_PYGIT2_ENUMS = True
|
||||
|
||||
except AttributeError:
|
||||
except ModuleNotFoundError:
|
||||
HAS_PYGIT2_ENUMS = False
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue