Skip to content

Commit

Permalink
rules_r: remove maxsplit= to support Bazel v1.0 (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmillikin-stripe authored and Siddhartha Bagaria committed Nov 13, 2019
1 parent d2c775f commit 3b6d326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def _r_repository_impl(rctx):
fail(("No sources found for repository '@%s'. Perhaps this package is " % rctx.name) +
"not available for your R version.")

archive_basename = rctx.attr.urls[0].rsplit("/", maxsplit = 1)[1]
archive_basename = rctx.attr.urls[0].rsplit("/", 1)[1]

if rctx.attr.pkg_type == "source":
rctx.download_and_extract(
Expand Down

0 comments on commit 3b6d326

Please sign in to comment.