Revision 6633
Added by Aaron Marcuse-Kubitza about 12 years ago
dict2redmine | ||
---|---|---|
40 | 40 |
|
41 | 41 |
|
42 | 42 |
def main(): |
43 |
try: _prog_name, term_col, sources_col, def_col = sys.argv
|
|
43 |
try: _prog_name, term_col, sources_col = sys.argv |
|
44 | 44 |
except ValueError: raise SystemExit('Usage: '+sys.argv[0] |
45 |
+' <spreadsheet term_col# sources_col# def_col# >redmine')
|
|
46 |
term_col, sources_col, def_col = map(int, [term_col, sources_col, def_col])
|
|
45 |
+' <spreadsheet term_col# sources_col# >redmine') |
|
46 |
term_col, sources_col = map(int, [term_col, sources_col])
|
|
47 | 47 |
|
48 | 48 |
# Translate input |
49 | 49 |
reader = csv.reader(sys.stdin) |
Also available in: Unified diff
dict2redmine: Removed no longer used explicit Definition column #