提交 64eb312b 编写于 作者: W wuzewu

Fix git_python import bug

上级 47895a93
...@@ -21,6 +21,9 @@ import sys ...@@ -21,6 +21,9 @@ import sys
from collections import OrderedDict from collections import OrderedDict
from typing import List from typing import List
# For some environments where git is not installed, we need to set this environment
# variable to avoid errors.
os.environ['GIT_PYTHON_REFRESH'] = 'quiet'
import git import git
from git import Repo from git import Repo
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册