Changeset 3002
- Timestamp:
- 9 Jan 2008, 12:55:20 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTool.py
r2999 r3002 845 845 if brain.sex not in (True,False): 846 846 logger.info('sex of %s not available' % (brain.reg_no)) 847 return 847 return 848 848 student_id = self.generateStudentId('?') 849 849 students_folder.invokeFactory('Student', student_id) … … 1762 1762 1763 1763 if pt == "StudentApplication": 1764 d['jamb_sex'] = 'M'1765 if mapping.get('sex'):1766 d['jamb_sex'] = 'F'1764 #d['jamb_sex'] = 'M' 1765 #if mapping.get('sex'): 1766 # d['jamb_sex'] = 'F' 1767 1767 d['jamb_firstname'] = mapping.get('firstname',None) 1768 1768 d['jamb_middlename'] = mapping.get('middlename',None) … … 1846 1846 break 1847 1847 for pt in f2t.keys(): 1848 if pt == "StudentApplication":1849 d['jamb_sex'] = 'M'1850 if mapping.get('sex'):1851 d['jamb_sex'] = 'F'1848 #if pt == "StudentApplication": 1849 # d['jamb_sex'] = 'M' 1850 # if mapping.get('sex'): 1851 # d['jamb_sex'] = 'F' 1852 1852 intersect = set(f2t[pt]['fields']).intersection(set(editable_keys)) 1853 1853 if intersect and pt not in ('StudentStudyLevel',):
Note: See TracChangeset for help on using the changeset viewer.