From 15dd52cd578691930cea194e003fa80dd02f40eb Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 9 Feb 2014 21:23:51 +0100 Subject: tabs to 4 spaces - overall state of this branch is desolate, but fixable. Needs plenty of work --- git/__init__.py | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'git/__init__.py') 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)) ] + -- cgit v1.2.1