Changeset 7688 for main/waeup.sirp/trunk/src/waeup/sirp/students
- Timestamp:
- 23 Feb 2012, 12:25:23 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/interfaces.py
r7681 r7688 39 39 """ 40 40 def getValues(self, context): 41 self.verdicts_dict = getUtility(IStudentsUtils).getVerdictsDict()42 return self.verdicts_dict.keys()41 verdicts_dict = getUtility(IStudentsUtils).getVerdictsDict() 42 return verdicts_dict.keys() 43 43 44 44 def getToken(self, context, value): … … 46 46 47 47 def getTitle(self, context, value): 48 return self.verdicts_dict[value] 48 verdicts_dict = getUtility(IStudentsUtils).getVerdictsDict() 49 return verdicts_dict[value] 49 50 50 51
Note: See TracChangeset for help on using the changeset viewer.