diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2014-02-09 21:23:51 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2014-02-09 21:23:51 +0100 |
commit | 15dd52cd578691930cea194e003fa80dd02f40eb (patch) | |
tree | ef4c9c5f705dd1ca743b7ceefe5b91b11ad15010 /git/__init__.py | |
parent | 660bdca125aa9dcca7a7730535bec433edb8ba02 (diff) | |
download | gitpython-15dd52cd578691930cea194e003fa80dd02f40eb.tar.gz |
tabs to 4 spaces - overall state of this branch is desolate, but fixable. Needs plenty of work
Diffstat (limited to 'git/__init__.py')
-rw-r--r-- | git/__init__.py | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/git/__init__.py b/git/__init__.py index adc5487e..91a10bb3 100644 --- a/git/__init__.py +++ b/git/__init__.py @@ -13,17 +13,17 @@ __version__ = 'git' #{ Initialization def _init_externals(): - """Initialize external projects by putting them into the path""" - ext_base = os.path.join(os.path.dirname(__file__), 'ext') - for package in ('async', 'smmap'): - sys.path.append(os.path.join(ext_base, package)) - try: - __import__(package) - except ImportError: - raise ImportError("%r could not be found in your PYTHONPATH" % package) - #END verify import - #END handle external import - + """Initialize external projects by putting them into the path""" + ext_base = os.path.join(os.path.dirname(__file__), 'ext') + for package in ('async', 'smmap'): + sys.path.append(os.path.join(ext_base, package)) + try: + __import__(package) + except ImportError: + raise ImportError("%r could not be found in your PYTHONPATH" % package) + #END verify import + #END handle external import + #} END initialization ################# @@ -43,14 +43,14 @@ from git.remote import * from git.index import * from git.repo import Repo 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)) ] + |