Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
Fix Bazel 1.0.0 incompatibility issue. (#803)
Browse files Browse the repository at this point in the history
Maxsplit is now a positional argument in string.split(). It seems like the only incompatibility issue between 0.28.1 and 1.0.0.
  • Loading branch information
vam-google committed Oct 11, 2019
1 parent 76a844c commit 31b44b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repository_rules.bzl
Expand Up @@ -40,7 +40,7 @@ def _com_google_api_gax_java_properties_impl(ctx):
p = prop.strip()
if len(p) <= 0 or p.startswith("#"):
continue
key_value = p.split("=", maxsplit = 1)
key_value = p.split("=", 1)
props_as_map[key_value[0]] = key_value[1]

props_name = ctx.attr.file.name
Expand Down

0 comments on commit 31b44b1

Please sign in to comment.