Project

General

Profile

« Previous | Next » 

Revision 717

bin/map: Print "Inserted ... new rows into database" message to stdout rather than stderr so it can be stored in the test case output as a validation check

View differences:

inputs/NYBG/test/import.out.ref
1
Inserted 84 new rows into database
bin/map
203 203
                root.clear()
204 204
            
205 205
            process_inputs(root, process_row)
206
            sys.stderr.write('Inserted '+str(row_ct_ref[0])+
206
            sys.stdout.write('Inserted '+str(row_ct_ref[0])+
207 207
                ' new rows into database\n')
208 208
        finally:
209 209
            out_db.rollback()

Also available in: Unified diff