Revision 3814
Added by Aaron Marcuse-Kubitza over 12 years ago
cols | ||
---|---|---|
13 | 13 |
col_nums = sys.argv[1:] |
14 | 14 |
if col_nums == []: |
15 | 15 |
raise SystemExit('Usage: '+sys.argv[0]+' col_num... <map >columns_map') |
16 |
if col_nums[0] == '*': col_nums = None # list_subset() value for all columns
|
|
16 |
if col_nums[0] == '+': col_nums = None # list_subset() value for all columns
|
|
17 | 17 |
else: col_nums = map(int, col_nums) # 0-based |
18 | 18 |
|
19 | 19 |
# Process map |
Also available in: Unified diff
cols: Changed value for all columns to '+' so that it wouldn't need to be shell-escaped as '*' was