Skip to content

Commit d077f9b

Browse files
bmsdaveCommit Bot
authored andcommitted
fix syntax error in python2 code
we can't use {**dict1, **dict2} in python2 code. see report https://travis-ci.com/bmsdave/v8/jobs/180113432 Bug: v8:935200 Change-Id: I2f2a1283583432d6d0167436dd7d4205455049cb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1484303 Commit-Queue: Sergiy Belozorov <[email protected]> Reviewed-by: Sergiy Belozorov <[email protected]> Cr-Commit-Position: refs/heads/master@{#60039}
1 parent 8c9b812 commit d077f9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/locs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,8 @@ def SetupReportGroups():
211211
"third_party": '\\.\\./\\.\\./third_party',
212212
"gen": 'gen'}
213213

214-
report_groups = {**default_report_groups, **dict(ARGS['group'])}
214+
report_groups = default_report_groups.copy()
215+
report_groups.update(dict(ARGS['group']))
215216

216217
if ARGS['only']:
217218
for only_arg in ARGS['only']:

0 commit comments

Comments
 (0)