Skip to content

Commit a352d69

Browse files
authored
Merge pull request #94 from lsst/tickets/DM-52492
DM-52492: Use dict.fromkeys rather than dict comprehension
2 parents 2ff75da + 7008d81 commit a352d69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/lsst/ctrl/bps/panda/panda_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def report(
193193
run=head["name"],
194194
state=WmsStates.UNKNOWN,
195195
total_number_jobs=0,
196-
job_state_counts={state: 0 for state in WmsStates},
196+
job_state_counts=dict.fromkeys(WmsStates, 0),
197197
job_summary={},
198198
run_summary="",
199199
exit_code_summary=[],

0 commit comments

Comments
 (0)