Changeset 1558 for WAeUP_SRP/branches/joachim-event-branch/Widgets.py
- Timestamp:
- 15 Mar 2007, 16:44:41 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/branches/joachim-event-branch/Widgets.py
r1449 r1558 719 719 err ='You are not a Student. PIN neither checked nor used.' 720 720 s_logger.info('"%s","tried to use Scratchcard", "%s"' % (s_id,pin_str)) 721 elif len(b) > 1 and b.find('-') > -1: 722 do = 0 723 err = 'PIN must not contain the "-"' 724 s_logger.info('"%s","Invalid PIN-Number, contains -"' % (s_id)) 725 elif n.find('-') > -1: 726 do = 0 727 err = 'PIN must not contain the "-"' 728 s_logger.info('"%s","Invalid PIN-Number, contains -"' % (s_id)) 721 729 elif len(n) != 10: 722 730 do = 0
Note: See TracChangeset for help on using the changeset viewer.