Changeset 12981 for main/waeup.kofa/trunk/src/waeup/kofa/utils
- Timestamp:
- 22 May 2015, 07:17:29 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/batching.py
r12869 r12981 384 384 continue 385 385 string_row = self.applyMapping(raw_row, mapping) 386 if ignore_empty and mode in ('update',):387 # Replace empty strings with ignore-markers386 if ignore_empty: 387 # Replace empty strings and empty lists with ignore-markers 388 388 for key, val in string_row.items(): 389 if val == '' :389 if val == '' or val == '[]': 390 390 string_row[key] = IGNORE_MARKER 391 391 row = dict(string_row.items()) # create deep copy
Note: See TracChangeset for help on using the changeset viewer.