Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit466ed9c

Browse files
committed
Test for PyOxidizer and avoid trying to use __file__ if present
Fixes#1002
1 parentbdd4368 commit466ed9c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎git/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#{ Initialization
1919
def_init_externals():
2020
"""Initialize external projects by putting them into the path"""
21-
if__version__=='git':
21+
if__version__=='git'and'PYOXIDIZER'notinos.environ:
2222
sys.path.insert(0,osp.join(osp.dirname(__file__),'ext','gitdb'))
2323

2424
try:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp