diff options
author | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-10-15 13:11:16 +0200 |
---|---|---|
committer | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-10-16 02:46:31 +0200 |
commit | 0210e394e0776d0b7097bf666bebd690ed0c0e4f (patch) | |
tree | e74014dd49c93f75b8cf388d700b681a321d261b /git/__init__.py | |
parent | a2d248bb8362808121f6b6abfd316d83b65afa79 (diff) | |
download | gitpython-0210e394e0776d0b7097bf666bebd690ed0c0e4f.tar.gz |
src: import os.path as osp
Diffstat (limited to 'git/__init__.py')
-rw-r--r-- | git/__init__.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/git/__init__.py b/git/__init__.py index 58e4e7b6..0514d545 100644 --- a/git/__init__.py +++ b/git/__init__.py @@ -5,9 +5,12 @@ # the BSD License: http://www.opensource.org/licenses/bsd-license.php # flake8: noqa #@PydevCodeAnalysisIgnore +import inspect import os import sys -import inspect + +import os.path as osp + __version__ = 'git' @@ -16,7 +19,7 @@ __version__ = 'git' def _init_externals(): """Initialize external projects by putting them into the path""" if __version__ == 'git': - sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'ext', 'gitdb')) + sys.path.insert(0, osp.join(osp.dirname(__file__), 'ext', 'gitdb')) try: import gitdb |