File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -45,22 +45,13 @@ def snopt_repository(
45
45
commit = "0254e961cb8c60193b0862a0428fd6a42bfb5243"
46
46
shallow_since = "1546539374 -0500"
47
47
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
-
60
48
_snopt_repository (
61
49
name = name ,
62
50
remote = remote ,
63
- ** kwargs
51
+ commit = commit ,
52
+ shallow_since = shallow_since ,
53
+ tag = tag ,
54
+ branch = branch ,
64
55
)
65
56
66
57
def _setup_git (repo_ctx ):
You can’t perform that action at this time.
0 commit comments