summaryrefslogtreecommitdiffhomepage
path: root/tools/bazeldefs
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-02-13 09:20:30 -0800
committergVisor bot <gvisor-bot@google.com>2020-02-13 09:21:39 -0800
commit3ad6d3056371b031fb0c16c4e365d5c7e60bdaf0 (patch)
tree6e1fa4fd140ff69b02dbc310f5e77a3cc50ae7bc /tools/bazeldefs
parentcf1e50a80976fae95eef4ab05d961200b04e2346 (diff)
Call py_requirement with named argument for optional kwarg.
PiperOrigin-RevId: 294930818
Diffstat (limited to 'tools/bazeldefs')
-rw-r--r--tools/bazeldefs/defs.bzl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bazeldefs/defs.bzl b/tools/bazeldefs/defs.bzl
index 08c29ff1c..6798362dc 100644
--- a/tools/bazeldefs/defs.bzl
+++ b/tools/bazeldefs/defs.bzl
@@ -72,7 +72,7 @@ def go_test(name, **kwargs):
**kwargs
)
-def py_requirement(name, direct = False):
+def py_requirement(name, direct = True):
return _py_requirement(name)
def select_arch(amd64 = "amd64", arm64 = "arm64", default = None, **kwargs):