Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions airflow/www/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,13 +321,11 @@ def set_overall_state(record):
record['state'] = state
break
if None in record['mapped_states']:
# When turnong the dict into JSON we can't have None as a key, so use the string that
# the UI does
# When turning the dict into JSON we can't have None as a key,
# so use the string that the UI does.
record['mapped_states']['no_status'] = record['mapped_states'].pop(None)

for ti_summary in ti_summaries:
if ti_summary.state is None:
ti_summary.state == 'no_status'
if run_id != ti_summary.run_id:
run_id = ti_summary.run_id
if record:
Expand Down