Skip to content

Commit 336ec08

Browse files
committed
Bazel: use extend(...) instead of += list(...)
1 parent e8061ec commit 336ec08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/bazel/pkg.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def _imported_zips_manifest_impl(ctx):
190190
for zip_info in ctx.attr.srcs:
191191
zip_info = zip_info[_ZipInfo]
192192
manifest += ["%s:%s" % (p, z.short_path) for z, p in zip_info.zips_to_prefixes.items()]
193-
files += list(zip_info.zips_to_prefixes)
193+
files.extend(zip_info.zips_to_prefixes)
194194

195195
output = ctx.actions.declare_file(ctx.label.name + ".params")
196196
ctx.actions.write(

0 commit comments

Comments
 (0)