We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fd07a0 commit ab7c322Copy full SHA for ab7c322
1 file changed
git/__init__.py
@@ -15,7 +15,8 @@
15
#{ Initialization
16
def _init_externals():
17
"""Initialize external projects by putting them into the path"""
18
- sys.path.append(os.path.join(os.path.dirname(__file__), 'ext', 'gitdb'))
+ if __version__ == 'git':
19
+ sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'ext', 'gitdb'))
20
21
try:
22
import gitdb
0 commit comments