Changeset 1705 for WAeUP_SRP/trunk/WAeUPTables.py
- Timestamp:
- 24 Apr 2007, 18:18:05 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTables.py
r1702 r1705 250 250 'department', 251 251 'level', 252 ' study_mode',252 'mode', 253 253 'session', 254 254 'verdict', … … 315 315 return getattr(doc,'current_level',None) 316 316 317 def get_from_doc_study_mode(self,doc): 318 "return the students study_mode" 319 if doc is None: 320 return None 321 return getattr(doc,'current_study_mode',None) 317 def get_from_doc_mode(self,doc): 318 "return the students mode" 319 if doc is None: 320 return None 321 cm = getattr(doc,'current_mode',None) 322 return cm 323 324 325 def get_from_doc_session(self,doc): 326 "return the students current_session" 327 if doc is None: 328 return None 329 return getattr(doc,'current_session',None) 322 330 323 331 def get_from_doc_entry_session(self,doc): … … 325 333 if doc is None: 326 334 return None 335 es = getattr(doc,'entry_session',None) 336 if len(es) == 2: 337 return es 327 338 try: 328 339 digit = int(doc.jamb_reg_no[0])
Note: See TracChangeset for help on using the changeset viewer.