Changeset 9265 for main/waeup.kofa/trunk/src/waeup/kofa/utils/batching.py
- Timestamp:
- 1 Oct 2012, 21:18:48 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/batching.py
r9219 r9265 220 220 if not hasattr(obj, key): 221 221 continue 222 setattr(obj, key, value) 222 try: 223 setattr(obj, key, value) 224 except AttributeError: 225 # Computed attributes can't be set. 226 continue 223 227 log_value = getattr(value, 'code', value) 224 228 changed.append('%s=%s' % (key, log_value))
Note: See TracChangeset for help on using the changeset viewer.