summaryrefslogtreecommitdiff
path: root/git/__init__.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2014-02-09 21:09:00 +0100
committerSebastian Thiel <byronimo@gmail.com>2014-02-09 21:09:00 +0100
commitf573b6840509bf41be822ab7ed79e0a776005133 (patch)
tree11f807845bcbe9901e84efab53aa8585a452022f /git/__init__.py
parent0b820e617ab21b372394bf12129c30174f57c5d7 (diff)
downloadgitpython-f573b6840509bf41be822ab7ed79e0a776005133.tar.gz
tabs to 4 spaces - this won't make integrating the patches easier, but it's probably a good idea to go a little more pep8 (and fix sins of my youth ;) )
Diffstat (limited to 'git/__init__.py')
-rw-r--r--git/__init__.py32
1 files changed, 16 insertions, 16 deletions
diff --git a/git/__init__.py b/git/__init__.py
index 0658c330..9ea81112 100644
--- a/git/__init__.py
+++ b/git/__init__.py
@@ -13,15 +13,15 @@ __version__ = 'git'
#{ Initialization
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
-
+ """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,14 @@ from git.repo import Repo
from git.remote import *
from git.index import *
from git.util import (
- LockFile,
- BlockingLockFile,
- Stats,
- Actor
- )
+ LockFile,
+ BlockingLockFile,
+ Stats,
+ Actor
+ )
#} END imports
__all__ = [ name for name, obj in locals().items()
- if not (name.startswith('_') or inspect.ismodule(obj)) ]
-
+ if not (name.startswith('_') or inspect.ismodule(obj)) ]
+