Project

General

Profile

« Previous | Next » 

Revision 8740

bin/repl: skip header instead of parsing it, since its columns are not used. this also allows using just a blank line as the header when the column names are not important.

View differences:

bin/repl
31 31
    repls = []
32 32
    stream = open(repl_path, 'rb')
33 33
    reader = csv.reader(stream)
34
    repl_in, repl_out = reader.next()[:2]
34
    reader.next() # skip header
35 35
    for row in reader:
36 36
        in_, out = row[:2]
37 37
        if in_ != '':

Also available in: Unified diff