File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 16
16
def _pip_import_impl (repository_ctx , binary_name ):
17
17
"""Core implementation of pip_import."""
18
18
19
- # Add an empty top-level BUILD file.
20
- # This is because Bazel requires BUILD files along all paths accessed
21
- # via //this/sort/of:path and we wouldn't be able to load our generated
22
- # requirements.bzl without it.
23
- repository_ctx .file ("BUILD" , "" )
19
+ # Add an empty top-level BUILD file.
20
+ # This is because Bazel requires BUILD files along all paths accessed
21
+ # via //this/sort/of:path and we wouldn't be able to load our generated
22
+ # requirements.bzl without it.
23
+ repository_ctx .file ("BUILD" , "" )
24
24
25
25
# To see the output, pass: quiet=False
26
26
result = repository_ctx .execute ([
@@ -31,8 +31,8 @@ def _pip_import_impl(repository_ctx, binary_name):
31
31
"--directory" , repository_ctx .path ("" ),
32
32
], quiet = False )
33
33
34
- if result .return_code :
35
- fail ("pip_import failed: %s (%s)" % (result .stdout , result .stderr ))
34
+ if result .return_code :
35
+ fail ("pip_import failed: %s (%s)" % (result .stdout , result .stderr ))
36
36
37
37
def _pip_system_import_impl (repository_ctx ):
38
38
"""System python implementation."""
You can’t perform that action at this time.
0 commit comments