diff --git a/tools/locs.py b/tools/locs.py index 22c91105a29..05793d698d0 100755 --- a/tools/locs.py +++ b/tools/locs.py @@ -211,7 +211,8 @@ def SetupReportGroups(): "third_party": '\\.\\./\\.\\./third_party', "gen": 'gen'} - report_groups = {**default_report_groups, **dict(ARGS['group'])} + report_groups = default_report_groups.copy() + report_groups.update(dict(ARGS['group'])) if ARGS['only']: for only_arg in ARGS['only']: