Changeset 3135
- Timestamp:
- 9 Feb 2008, 11:40:12 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTool.py
r3133 r3135 1974 1974 return '',"no id or matric_no specified" 1975 1975 student_id = student_record.id 1976 student_obj = getattr(students_folder,student_id)1977 f2t = self.field2types_student1978 1976 d = {} 1979 1977 #import pdb;pdb.set_trace() … … 1993 1991 student_record.level) 1994 1992 student_review_state = student_record.review_state 1993 if student_review_state == 'deactivated': 1994 return '',"student %s in review_state %s" % (student_id, student_review_state) 1995 1995 if student_review_state not in ('courses_validated','returning'): 1996 1996 return student_id,"student %s in wrong review_state %s" % (student_id, student_review_state) 1997 student_obj = getattr(students_folder,student_id) 1998 f2t = self.field2types_student 1997 1999 study_course_obj = getattr(student_obj,'study_course',None) 1998 2000 if study_course_obj is None:
Note: See TracChangeset for help on using the changeset viewer.