summaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
authorXavier Verges <xavier.verges@es.ibm.com>2020-10-04 20:46:01 +0200
committerSebastian Thiel <sebastian.thiel@icloud.com>2020-10-05 08:12:04 +0800
commit4ba76d683df326f2e6d4f519675baf86d0373abf (patch)
treebae28927f8589cd1cc4a5a122526896ecc6388ca /git
parent7cd47aeea822c484342e3f0632ae5cf8d332797d (diff)
downloadgitpython-4ba76d683df326f2e6d4f519675baf86d0373abf.tar.gz
Do not break convention when updating sys.path
Diffstat (limited to 'git')
-rw-r--r--git/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/__init__.py b/git/__init__.py
index 50730742..53440830 100644
--- a/git/__init__.py
+++ b/git/__init__.py
@@ -19,7 +19,7 @@ __version__ = 'git'
def _init_externals():
"""Initialize external projects by putting them into the path"""
if __version__ == 'git' and 'PYOXIDIZER' not in os.environ:
- sys.path.insert(0, osp.join(osp.dirname(__file__), 'ext', 'gitdb'))
+ sys.path.insert(1, osp.join(osp.dirname(__file__), 'ext', 'gitdb'))
try:
import gitdb