Project

General

Profile

« Previous | Next » 

Revision 3814

cols: Changed value for all columns to '+' so that it wouldn't need to be shell-escaped as '*' was

View differences:

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