Changeset 8236 for main/waeup.kofa
- Timestamp:
- 20 Apr 2012, 22:07:46 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/batching.py
r8223 r8236 25 25 from zope.catalog.interfaces import ICatalog 26 26 from waeup.kofa.interfaces import ( 27 IBatchProcessor, IObjectConverter, FatalCSVError )27 IBatchProcessor, IObjectConverter, FatalCSVError, IGNORE_MARKER) 28 28 from waeup.kofa.utils.batching import BatchProcessor 29 29 from waeup.kofa.applicants.interfaces import ( … … 112 112 113 113 def getLocator(self, row): 114 if row.get('application_number', None) :114 if row.get('application_number', None) not in (IGNORE_MARKER, None): 115 115 return 'application_number' 116 elif row.get('reg_number', None) :116 elif row.get('reg_number', None) not in (IGNORE_MARKER, None): 117 117 return 'reg_number' 118 118 else:
Note: See TracChangeset for help on using the changeset viewer.