Revision 3081
Added by Aaron Marcuse-Kubitza over 12 years ago
csv2db | ||
---|---|---|
124 | 124 |
sql.with_savepoint(db, load_) |
125 | 125 |
|
126 | 126 |
log('Cleaning up table') |
127 |
sql.cleanup_table(db, table, col_names) |
|
127 |
sql_io.cleanup_table(db, table, col_names)
|
|
128 | 128 |
|
129 | 129 |
log('Adding indexes') |
130 | 130 |
for col in typed_cols[1:]: # exclude pkey |
Also available in: Unified diff
Moved Data cleanup from sql.py to sql_io.py