# HG changeset patch # User jjohnson # Date 1487424935 18000 # Node ID 72c32037fa1e039d62fc377cbb605758f82d69a7 # Parent 03842a4f71c64de2bd2ffb02838ddd423cc171b5 Uploaded diff -r 03842a4f71c6 -r 72c32037fa1e query_tabular.py --- a/query_tabular.py Fri Feb 17 15:20:24 2017 -0500 +++ b/query_tabular.py Sat Feb 18 08:35:35 2017 -0500 @@ -217,8 +217,6 @@ for linenum, fields in enumerate(tr): data_lines += 1 try: - if col_idx: - fields = [fields[i] for i in col_idx] vals = [col_func[i](x) if x else None for i, x in enumerate(fields)] c.execute(insert_stmt, vals) except Exception, e: