Skip to content

Commit 54c30ac

Browse files
committed
Merge remote-tracking branch 'origin/master' into edge
2 parents ed03b60 + a256008 commit 54c30ac

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

mig/shared/output.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2820,10 +2820,11 @@ def format_output(
28202820

28212821
# hide previous output
28222822

2823-
out_obj = []
2824-
out_obj.extend([{'object_type': 'error_text', 'text':
2825-
'Validation error! %s' % val_msg},
2826-
{'object_type': 'title', 'text': 'Validation error!'}])
2823+
out_obj = [
2824+
{'object_type': 'start'},
2825+
{'object_type': 'title', 'text': 'Validation error!'},
2826+
{'object_type': 'error_text', 'text': 'Validation error! %s' % val_msg},
2827+
]
28272828

28282829
start = None
28292830
title = None

0 commit comments

Comments
 (0)