From 0210e394e0776d0b7097bf666bebd690ed0c0e4f Mon Sep 17 00:00:00 2001 From: Kostis Anagnostopoulos Date: Sat, 15 Oct 2016 13:11:16 +0200 Subject: src: import os.path as osp --- git/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'git/__init__.py') 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 -- cgit v1.2.3