Changeset 7950 for main/waeup.kofa/trunk/src/waeup/kofa/utils
- Timestamp:
- 22 Mar 2012, 07:00:06 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/batching.py
r7938 r7950 188 188 raise NotImplementedError('method not implemented') 189 189 190 def check Constraints(self, obj, row, site):191 """Checks constraints the object must fulfill when being updated.190 def checkUpdateRequirements(self, obj, row, site): 191 """Checks requirements the object must fulfill when being updated. 192 192 193 193 This method is not used in case of deleting or adding objects. 194 194 195 Returns error messages as strings in case of constraint195 Returns error messages as strings in case of requirement 196 196 problems. 197 197 """ … … 337 337 "Cannot update: no such entry.") 338 338 continue 339 update_errors = self.check Constraints(obj, row, site)339 update_errors = self.checkUpdateRequirements(obj, row, site) 340 340 if update_errors is not None: 341 341 num_warns += 1
Note: See TracChangeset for help on using the changeset viewer.