Project

General

Profile

« Previous | Next » 

Revision 211

repl: Fixed bug in reading arguments

View differences:

scripts/util/repl
13 13
            sys.argv[0]+' repl_1 [col_num_1]]... >new_map')
14 14
    col_num = None
15 15
    try: col_num = sys.argv[2]
16
    except ValueError: pass
16
    except IndexError: pass
17 17
    if col_num != None: col_num = int(col_num) # 0-based
18 18
    
19 19
    # Get replacements

Also available in: Unified diff