Revision 846
Added by Aaron Marcuse-Kubitza almost 13 years ago
bin/map | ||
---|---|---|
235 | 235 |
else: # output is CSV |
236 | 236 |
raise NotImplementedError('CSV output not supported yet') |
237 | 237 |
|
238 |
try: main() |
|
239 |
except Parser.SyntaxException, e: raise SystemExit(str(e)) |
|
238 |
if __name__ == '__main__': |
|
239 |
try: main() |
|
240 |
except Parser.SyntaxException, e: raise SystemExit(str(e)) |
Also available in: Unified diff
bin/map: Added "if name == '__main__': main()" idiom so file can be included as well as run. This will be useful for profiling.