Changeset 3431 for WAeUP_SRP/base


Ignore:
Timestamp:
8 Apr 2008, 15:51:10 (17 years ago)
Author:
Henrik Bettermann
Message:

getAccommodationInfo.py: adjust to Okene version

WAeUPImport.py: remove redundant line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPImport.py

    r3404 r3431  
    459459                    self._v_level_created += level_ident,
    460460            mapping['key'] = key = "%(student_id)s|%(level_id)s|%(code)s" % vars()
     461            #overwrite semester and credits in create mode
    461462            for k in ('semester','credits',):
    462463                mapping[k] = getattr(self._v_courses[course_id],k)
     
    483484            level_id = mapping.get('level_id','')
    484485            code = mapping.get('code','')
    485             code = mapping['code']
     486            #code = mapping['code']
    486487            mapping['key'] = key = "%(student_id)s|%(level_id)s|%(code)s" % vars()
    487488            if self.course_results.getRecordByKey(key) is None:
     
    855856                        if res:
    856857                            msg = "jamb_reg_no already assigned to student %s" % res[0].id
    857                             break                   
     858                            break
    858859                        msg = "old jamb_reg_no %s overwritten with %s" % (student_record.jamb_reg_no,jamb_reg_no)
    859860                        #logger.info("%s, old reg_no %s overwritten with %s" % (student_record.id,student_record.jamb_reg_no,jamb_reg_no))
Note: See TracChangeset for help on using the changeset viewer.