diff options
Diffstat (limited to 'git/__init__.py')
-rw-r--r-- | git/__init__.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/git/__init__.py b/git/__init__.py index 9ea81112..6ccafcbb 100644 --- a/git/__init__.py +++ b/git/__init__.py @@ -15,13 +15,13 @@ __version__ = 'git' def _init_externals(): """Initialize external projects by putting them into the path""" sys.path.append(os.path.join(os.path.dirname(__file__), 'ext', 'gitdb')) - + try: import gitdb except ImportError: raise ImportError("'gitdb' could not be found in your PYTHONPATH") #END verify import - + #} END initialization ################# @@ -51,4 +51,3 @@ from git.util import ( __all__ = [ name for name, obj in locals().items() if not (name.startswith('_') or inspect.ismodule(obj)) ] - |