Content-Length: 380 | pFad | http://github.com/gitpython-developers/GitPython/pull/763.diff

thub.com 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)) #################








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/gitpython-developers/GitPython/pull/763.diff

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy