File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -176,11 +176,11 @@ def build(report, pvarray):
176
176
177
177
@staticmethod
178
178
def merge (reports ):
179
- """Works for dictionary reports. Merges the reports list of
180
- dictionaries by flattening the lists for each key into a single
179
+ """Works for dictionary reports. Merges the reports list of
180
+ dictionaries by flattening the lists for each key into a single
181
181
super list. Returns a dictionary with two list values."""
182
182
# Dictionary comprehension obviates the need to check if there are more
183
183
# than one report, and if one of the elements in reports is None.
184
- report = {k :[item for d in reports for item in d [k ]]
184
+ report = {k : [item for d in reports for item in d [k ]]
185
185
for k in reports [0 ].keys ()}
186
186
return report
You can’t perform that action at this time.
0 commit comments