diff --git a/git/__init__.py b/git/__init__.py index 74609e79f..e98806d46 100644 --- a/git/__init__.py +++ b/git/__init__.py @@ -79,5 +79,8 @@ def refresh(path=None): #} END initialize git executable path ################# -refresh() +try: + refresh() +except Exception as exc: + raise ImportError('Failed to initialize: {0}'.format(exc)) #################
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: