Catch all exceptions in git import for salt.utils.gitfs

This commit is contained in:
Ch3LL 2018-06-01 11:58:27 -04:00
parent b88ec5258d
commit 75c51ad69b
No known key found for this signature in database
GPG key ID: 132B55A7C13EFA73

View file

@ -93,7 +93,7 @@ try:
import git
import gitdb
GITPYTHON_VERSION = _LooseVersion(git.__version__)
except ImportError:
except Exception:
GITPYTHON_VERSION = None
try: