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

This commit is contained in:
Ch3LL 2018-06-05 09:05:03 -04:00
parent 9c964fdbce
commit bf608abd44
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: