Revision 9520
Added by Aaron Marcuse-Kubitza over 11 years ago
tnrs_client | ||
---|---|---|
22 | 22 |
if not names: raise SystemExit('Usage: '+opts.env_usage(env_names, True) |
23 | 23 |
+' '+sys.argv[0]+' name... >out 2>>log') |
24 | 24 |
|
25 |
streams.copy(tnrs.repeated_tnrs_request(names, debug), sys.stdout)
|
|
25 |
streams.copy(tnrs.tnrs_request(names, debug), sys.stdout) |
|
26 | 26 |
|
27 | 27 |
main() |
Also available in: Unified diff
lib/tnrs.py: repeated_tnrs_request(): renamed to tnrs_request() since this is the function that should usually be used, to ensure that debugging information is output in the case of an error. (the TNRS request must be made again to output this information.)