Changeset 3195


Ignore:
Timestamp:
21 Feb 2008, 10:58:02 (17 years ago)
Author:
joachim
Message:

fix 484

Location:
WAeUP_SRP/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPImport.py

    r3191 r3195  
    280280    commit_after = 1000000
    281281
    282     def getStudentRecord(self,mapping):
     282    def getStudentRecord(self,mapping): ###(
    283283        for id_key in ('student_id','matric_no'):
    284284            id_field = mapping.get(id_key,'')
     
    302302            msg = "No student with %(search_key)s %(search_field)s" % vars()
    303303        return student_record,msg
    304            
     304    ###)
     305
    305306    def create(self,mapping):###(
    306307        students_folder = self.portal_url.getPortalObject().campus.students
     
    379380    ###)
    380381
    381     def delete(self,mapping):###(
     382    def remove(self,mapping):###(
    382383        id_key = ''
    383384        msg = ''
  • WAeUP_SRP/base/WAeUPTool.py

    r3191 r3195  
    14181418            import_source_path = "%s/import/%s.csv" % (i_home,filename)
    14191419        if not os.path.exists(import_source_path):
    1420             em = 'No  %(import_source_fn)s' % vars()
     1420            fn = os.path.split(import_source_path)[1]
     1421            em = 'No  %(fn)s' % vars()
    14211422            return em
    14221423        import_source_fn = os.path.split(import_source_path)[1]
Note: See TracChangeset for help on using the changeset viewer.