- Timestamp:
- 19 Apr 2012, 15:40:34 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/batching.py
r8008 r8223 112 112 113 113 def getLocator(self, row): 114 #if 'application_number' in row.keys() and row['application_number']: 115 if row.get('application_number',None): 114 if row.get('application_number', None): 116 115 return 'application_number' 117 elif 'reg_number' in row.keys() and row['reg_number']:116 elif row.get('reg_number', None): 118 117 return 'reg_number' 119 118 else: … … 186 185 converter = IObjectConverter(iface) 187 186 errs, inv_errs, conv_dict = converter.fromStringDict( 188 row, self.factory_name )187 row, self.factory_name, mode=mode) 189 188 return errs, inv_errs, conv_dict
Note: See TracChangeset for help on using the changeset viewer.