- Timestamp:
- 19 Mar 2007, 18:57:54 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/branches/uli/skins/waeup_student/set_access_data.py
r1267 r1593 8 8 current = DateTime.DateTime() 9 9 pr = context.portal_registration 10 logger = logging.getLogger('S tudent.SetAccessData')10 logger = logging.getLogger('Skins.set_access_data') 11 11 validate = REQUEST.has_key("cpsdocument_edit_button") 12 12 13 13 if matric_no is None: 14 logger.info(' "No matric_no in request"')14 logger.info('No matric_no in request') 15 15 return REQUEST.RESPONSE.redirect("%s" % context.portal_url()) 16 16 lt = context.portal_layouts … … 21 21 sid = st_res[0].id 22 22 else: 23 logger.info(' "%s","Studentobject does not exist"' % matric_no)23 logger.info('Student object with matric_no does not exist' % matric_no) 24 24 res,psm,ds = lt.renderLayout(layout_id= 'student_session_results_search', 25 25 schema_id= 'student_returning', … … 53 53 #psm = "You are already registered please log in with your UserId %s" % sid 54 54 psm = "" 55 logger.info(' "%s","repeatedly tried to set password"' % sid)55 logger.info('%s repeatedly tried to set password' % sid) 56 56 except: 57 57 psm = "The system encountered an error. Please try again." 58 logger.info(' "%s","set_access error","%s"' % (sid,password))58 logger.info('%s, makeStudentMember error, password = %s' % (sid,password)) 59 59 if psm != '': 60 60 return context.set_access_data_form(rendered = res,
Note: See TracChangeset for help on using the changeset viewer.