- Timestamp:
- 2 May 2012, 11:54:22 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/studycourse.py
r8326 r8328 37 37 @property 38 38 def may_register(self): 39 return True 39 if self.previous_verdict in ( 40 'A','B','C','F','J','L','M','N','O','X','Z') or \ 41 self.current_level in (0, 100) or\ 42 (self.__parent__.current_mode.startswith('de') and self.current_level == 200) or \ 43 (self.__parent__.current_mode.startswith('ph') and self.current_level == 300): 44 return True 45 return False 40 46 41 47 CustomStudentStudyCourse = attrs_to_fields(CustomStudentStudyCourse)
Note: See TracChangeset for help on using the changeset viewer.