File tree 1 file changed +6
-6
lines changed 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -462,9 +462,9 @@ def Main():
462
462
di_file_args = OrderedDict ()
463
463
464
464
# Use the defaultdict in order to make multidim dicts.
465
- di_location_bugs = defaultdict (lambda : defaultdict (dict ))
466
- di_subprogram_bugs = defaultdict (lambda : defaultdict (dict ))
467
- di_variable_bugs = defaultdict (lambda : defaultdict (dict ))
465
+ di_location_bugs = defaultdict (lambda : defaultdict (list ))
466
+ di_subprogram_bugs = defaultdict (lambda : defaultdict (list ))
467
+ di_variable_bugs = defaultdict (lambda : defaultdict (list ))
468
468
469
469
# Use the ordered dict to make a summary.
470
470
di_location_bugs_summary = OrderedDict ()
@@ -509,9 +509,9 @@ def Main():
509
509
skipped_lines += 1
510
510
continue
511
511
512
- di_loc_bugs = [ ]
513
- di_sp_bugs = [ ]
514
- di_var_bugs = [ ]
512
+ di_loc_bugs = di_location_bugs [ bugs_file ][ bugs_pass ]
513
+ di_sp_bugs = di_subprogram_bugs [ bugs_file ][ bugs_pass ]
514
+ di_var_bugs = di_variable_bugs [ bugs_file ][ bugs_pass ]
515
515
516
516
# Omit duplicated bugs.
517
517
di_loc_set = set ()
You can’t perform that action at this time.
0 commit comments