Revision 984
Added by Aaron Marcuse-Kubitza almost 13 years ago
bin/map | ||
---|---|---|
25 | 25 |
else: return None |
26 | 26 |
|
27 | 27 |
def main_(): |
28 |
ex_tracker = exc.ExPercentTracker() |
|
29 |
|
|
30 | 28 |
env_names = [] |
31 | 29 |
def usage_err(): |
32 | 30 |
raise SystemExit('Usage: '+opts.env_usage(env_names, True)+' ' |
... | ... | |
200 | 198 |
row_ct += process_input(root, row_ready, map_path) |
201 | 199 |
return row_ct |
202 | 200 |
|
201 |
ex_tracker = exc.ExPercentTracker(iter_text='row') |
|
203 | 202 |
profiler = profiling.ItersProfiler(start_now=True, iter_text='row') |
204 | 203 |
doc = xml_dom.create_doc() |
205 | 204 |
root = doc.documentElement |
Also available in: Unified diff
bin/map: Set ExPercentTracker's iter_text. Start ExPercentTracker after input processing, because errors in command line options should just end the program and don't need to be tracked.