summaryrefslogtreecommitdiff
path: root/git/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/__init__.py')
-rw-r--r--git/__init__.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/git/__init__.py b/git/__init__.py
index 9ea81112..d87dcbdb 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
#################
@@ -41,14 +41,13 @@ from git.repo import Repo
from git.remote import *
from git.index import *
from git.util import (
- LockFile,
- BlockingLockFile,
+ LockFile,
+ BlockingLockFile,
Stats,
Actor
)
#} END imports
-__all__ = [ name for name, obj in locals().items()
- if not (name.startswith('_') or inspect.ismodule(obj)) ]
-
+__all__ = [name for name, obj in locals().items()
+ if not (name.startswith('_') or inspect.ismodule(obj))]