mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #47924 from Ch3LL/mac_gitpy
Catch all exceptions in git import for salt.utils.gitfs
This commit is contained in:
commit
58b5f2b4dd
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ try:
|
|||
import git
|
||||
import gitdb
|
||||
GITPYTHON_VERSION = _LooseVersion(git.__version__)
|
||||
except ImportError:
|
||||
except Exception:
|
||||
GITPYTHON_VERSION = None
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue