Changeset 8558 for main/waeup.kofa/trunk/src
- Timestamp:
- 30 May 2012, 08:54:38 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r8481 r8558 706 706 lang = self.request.cookies.get('kofa.language') 707 707 for value in self.context.values(): 708 # We have to make a deepcopy otherwise we'll override 709 # the object's dict values (not the attributes). 710 value_dict = deepcopy(value.__dict__) 708 value_dict = dict([i for i in value.__dict__.items()]) 711 709 value_dict['mandatory'] = translate(str(value.mandatory), 'zope', 712 710 target_language=lang)
Note: See TracChangeset for help on using the changeset viewer.