- Timestamp:
- 7 Mar 2014, 09:32:43 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/helpers.py
r10678 r11476 401 401 if field_name in omit: 402 402 continue 403 setattr(cls, field_name, FieldProperty(iface[field_name])) 403 field_property = FieldProperty(iface[field_name]) 404 # Set proper docstring for the API docs. 405 field_property.__doc__ = iface[field_name].title + ' (computed attribute)' 406 setattr(cls, field_name, field_property) 404 407 return cls 405 408
Note: See TracChangeset for help on using the changeset viewer.