Skip to content

Commit

Permalink
fixup! Use defaultdict to shorten code
Browse files Browse the repository at this point in the history
  • Loading branch information
berland committed Oct 23, 2023
1 parent 082c5f3 commit b5ee1f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ert/gui/model/snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ def prerender(
metadata[SORTED_JOB_IDS][real_id].append(job_id)

for (real_id, job_id), job_status in job_states.items():
# partial snapshot may contain only information about job state
if real_id in reals and reals[real_id].status:
metadata[REAL_STATUS_COLOR][real_id] = _QCOLORS[
state.REAL_STATE_TO_COLOR[reals[real_id].status]
Expand Down

0 comments on commit b5ee1f8

Please sign in to comment.