Changeset 9183 for main/waeup.kofa/trunk/src/waeup/kofa/students/student.py
- Timestamp:
- 14 Sep 2012, 05:43:25 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/student.py
r9182 r9183 137 137 138 138 @property 139 def current_verdict(self): 140 level = getattr( 141 self.get('studycourse', None), 'current_verdict', None) 142 return level 143 144 @property 139 145 def current_mode(self): 140 146 certificate = getattr( … … 142 148 if certificate is not None: 143 149 return certificate.study_mode 144 return None145 146 @property147 def current_verdict(self):148 certificate = getattr(149 self.get('studycourse', None), 'certificate', None)150 if certificate is not None:151 return certificate.current_verdict152 150 return None 153 151
Note: See TracChangeset for help on using the changeset viewer.