Mercurial > repos > jjohnson > query_tabular
diff load_db.py @ 22:bed5018e7ae3 draft
Uploaded
author | jjohnson |
---|---|
date | Mon, 17 Jul 2017 15:22:04 -0400 |
parents | ab27c4bd14b9 |
children |
line wrap: on
line diff
--- a/load_db.py Fri Jul 14 17:34:22 2017 -0400 +++ b/load_db.py Mon Jul 17 15:22:04 2017 -0400 @@ -122,8 +122,7 @@ conn.commit() c.close() except Exception as e: - print('Failed: %s' % (e), file=sys.stderr) - exit(1) + exit('Error: %s' % (e)) def create_index(conn, table_name, index_name, index_columns, unique=False):