8000 fix import · saku-xyz/opencv-python@6e42c06 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6e42c06

Browse files
committed
fix import
1 parent 91f52b8 commit 6e42c06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ def main():
2525

2626
if os.path.exists('.git'):
2727

28-
import pip.vcs.git
29-
g = pip._internal.vcs.git.Git() # NOTE: pip API's are internal, this has to be refactored
28+
import pip._internal.vcs.git as git
29+
g = git.Git() # NOTE: pip API's are internal, this has to be refactored
3030

3131
g.run_command(["submodule", "sync"])
3232
g.run_command(["submodule", "update", "--init", "--recursive", cmake_source_dir])

0 commit comments

Comments
 (0)
0