Project

General

Profile

« Previous | Next » 

Revision 828

bin/map: Highlight the "input row" and "output row:" labels in error messages

View differences:

map
14 14
import Parser
15 15
import sql
16 16
import strings
17
import term
17 18
import util
18 19
import xml_dom
19 20
import xml_func
......
191 192
            
192 193
            def process_row(input_row):
193 194
                def on_error(e):
194
                    exc.add_msg(e, 'output row:\n'+str(root))
195
                    exc.add_msg(e, 'input row:\n'+str(input_row))
195
                    exc.add_msg(e, term.emph('input row:')+'\n'+str(input_row))
196
                    exc.add_msg(e, term.emph('output row:')+'\n'+str(root))
196 197
                    ex_tracker.track(e)
197 198
                
198 199
                xml_func.process(root, on_error)

Also available in: Unified diff