Changeset 1020 for WAeUP_SRP/trunk/Widgets.py
- Timestamp:
- 9 Dec 2006, 10:20:26 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Widgets.py
r1016 r1020 489 489 elif ok == -3: 490 490 err = 'Unknown error, please report!' 491 break 491 break 492 492 if ok == 0: 493 493 err = 'PIN already used.' … … 498 498 if self.reference == "jamb_reg_no": 499 499 err = "You are already logged in." 500 s_logger.info('"%s", "logged in ", "%s"' % (ref,pin))500 s_logger.info('"%s", "logged in with pin", "%s"' % (ref,pin)) 501 501 break 502 s_logger.info('"%s", "used ", "%s"' % (ref,pin))502 s_logger.info('"%s", "used pin", "%s"' % (ref,pin)) #bitte genauer beschreiben 503 503 break 504 504 else: 505 505 student = getStudentByRegNo(self,ref) 506 s_logger.info('"jamb_reg_no:%s","used","%s"' % (ref,pin)) 506 s_logger.info('"jamb_reg_no:%s","used","%s"' % (ref,pin)) #bitte genauer beschreiben 507 507 if student is None: 508 508 err = "Student not found." … … 513 513 if hasattr(self.portal_directories.students,s_id): 514 514 err = "Please login with your Student Id %s and 10-digit PIN." % s_id 515 s_logger.info('"%s", " double used", "%s"' % (s_id,pin))515 s_logger.info('"%s", "repeatedly checked admission with pin", "%s"' % (s_id,pin)) #ist das richtig? 516 516 break 517 517 else: 518 s_logger.info('"%s"," notmember double used", "%s"' % (s_id,pin))518 s_logger.info('"%s","(non-member) repeatedly checked admission with pin", "%s"' % (s_id,pin)) #ist das richtig? 519 519 else: 520 520 err = "Please login with your Student Id %s and 10-digit PIN." % s_id 521 s_logger.info('"%s", " double used", "%s"' % (s_id,pin))521 s_logger.info('"%s", "repeatedly checked admission with pin", "%s"' % (s_id,pin)) #ist das richtig? 522 522 break 523 523 ## if self.reference == "jamb_reg_no": … … 529 529 try: 530 530 student.getContent().makeStudentMember(s_id,password=pin[4:]) 531 s_logger.info('"%s", " created using", "%s"' % (s_id,pin))531 s_logger.info('"%s", "has been created using pin", "%s"' % (s_id,pin)) 532 532 except: 533 533 err = "Please login with your Student Id %s and 10-digit PIN." % s_id 534 s_logger.info('"%s", " double creation", "%s"' % (s_id,ref))534 s_logger.info('"%s", "has been repeatedly created usin pin", "%s"' % (s_id,ref)) #????? bitte genauer beschreiben 535 535 break 536 536 break
Note: See TracChangeset for help on using the changeset viewer.