Project

General

Profile

« Previous | Next » 

Revision 6445

bin/map: in_is_db: If table does not exist, set table to None so that db_xml.put_table() doesn't try to access it. This fixes a bug in metadata-only map spreadsheets under column-based import.

View differences:

bin/map
355 355
                cur = sql.select(in_db, table, limit=limit, start=start,
356 356
                    recover=True, cacheable=False)
357 357
            except sql.DoesNotExistException:
358
                table = None
358 359
                col_names = []
359 360
                rows = []
360 361
            else:

Also available in: Unified diff