Skip to content

Commit f2964fe

Browse files
committed
DNM Revert "[build] Silence console spam from the snopt repository rule"
This reverts commit 70016f2.
1 parent 504c222 commit f2964fe

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

tools/workspace/snopt/repository.bzl

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,22 +45,13 @@ def snopt_repository(
4545
commit = "0254e961cb8c60193b0862a0428fd6a42bfb5243"
4646
shallow_since = "1546539374 -0500"
4747

48-
# Passing None to the repository rule causes DEBUG output spam from Bazel
49-
# asking us to drop the unused argument, so we'll only pass non-None.
50-
kwargs = dict()
51-
if commit != None:
52-
kwargs.update(commit = commit)
53-
if shallow_since != None:
54-
kwargs.update(shallow_since = shallow_since)
55-
if tag != None:
56-
kwargs.update(tag = tag)
57-
if branch != None:
58-
kwargs.update(branch = branch)
59-
6048
_snopt_repository(
6149
name = name,
6250
remote = remote,
63-
**kwargs
51+
commit = commit,
52+
shallow_since = shallow_since,
53+
tag = tag,
54+
branch = branch,
6455
)
6556

6657
def _setup_git(repo_ctx):

0 commit comments

Comments
 (0)