Revision 1647
Added by Aaron Marcuse-Kubitza almost 13 years ago
inputs/REMIB/src/nodes.make | ||
---|---|---|
91 | 91 |
error = strings.remove_prefix('\t\t', line) |
92 | 92 |
if len(error) != len(line): raise InputException(error) |
93 | 93 |
break |
94 |
out.write(line) |
|
95 |
|
|
96 |
row_ct += 1 |
|
94 | 97 |
if row_ct % 100 == 0: print_status('\r') |
95 | 98 |
# CR at end so next print overwrites msg |
96 |
out.write(line) |
|
97 |
row_ct += 1 |
|
98 | 99 |
except (InputException, timeout.TimeoutException), e: |
99 | 100 |
clear_line() |
100 | 101 |
log('! Output line '+str(out.line_num)+': '+exc.str_(e)) |
Also available in: Unified diff
inputs/REMIB/src/nodes.make: Fixed bug where row count was output in the middle of the row processing code, instead of after the first row is processed and the row count incremented. This removes "Processed 0 row(s)" messages at the beginning of every prefix.