mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Catch all exceptions in git import for salt.utils.gitfs
This commit is contained in:
parent
b88ec5258d
commit
75c51ad69b
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