Project

General

Profile

« Previous | Next » 

Revision 179

join: Changed order of args and redirects to be more intuitive

View differences:

join
7 7
def main():
8 8
    try: _prog_name, map_1_path = sys.argv
9 9
    except ValueError:
10
        raise SystemExit('Usage: '+sys.argv[0]+' map_1 <map_0 >joined_map')
10
        raise SystemExit('Usage: '+sys.argv[0]+' <map_0 map_1 >joined_map')
11 11
    
12 12
    # Get map 1
13 13
    map_1 = {}

Also available in: Unified diff