Ignore:
Timestamp:
17 Jan 2007, 18:05:49 (18 years ago)
Author:
Henrik Bettermann
Message:

session not displayed on acco slip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_utilities/deleteStudentByMatricNo.py

    r1310 r1316  
    2525students = context.portal_url.getPortalObject().campus.students
    2626if str(member) not in ('admin','joachim') or matric_no is None:
    27     return 
     27    return
    2828res = st_cat(matric_no=matric_no)
    2929if len(res) != 1:
     
    5151    msg = "%s deleted" % (','.join(res_deleted))
    5252else:
    53     msg = "no results to delete for %s" % matric_no
     53    msg = "No results to delete for %s" % matric_no
    5454output.append(msg)
    5555logger.info(msg)
    5656if hasattr(stdir, student_id):
    5757    stdir.deleteEntry(student_id)
    58     msg = "Student Directoryentry for %s deleted" % student_id
     58    msg = "Student directory entry for %s deleted" % student_id
    5959else:
    60     msg = "No Student Directoryentry for %s" % student_id
     60    msg = "No Student directory entry for %s" % student_id
    6161output.append(msg)
    6262logger.info(msg)
    6363if hasattr(students,student_id):
    6464    students.manage_delObjects((student_id),)
    65     msg = "students entry for %s deleted" % student_id
     65    msg = "Student object for %s deleted" % student_id
    6666else:
    67     msg = "No students entry for %s" % student_id
     67    msg = "No students object for %s" % student_id
    6868output.append(msg)
    6969logger.info(msg)
Note: See TracChangeset for help on using the changeset viewer.