Changeset 2604 for WAeUP_SRP/base
- Timestamp:
- 9 Nov 2007, 09:06:31 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/Widgets.py
r2603 r2604 1197 1197 elif len(b) > 1 and b.find('-') > -1: 1198 1198 do = 0 1199 err = 'PIN must not contain "-" '1199 err = 'PIN must not contain "-".' 1200 1200 s_logger.info('%s entered invalid PIN containing "-"' % (s_id)) 1201 1201 elif n.find('-') > -1: 1202 1202 do = 0 1203 err = 'PIN must not contain "-" '1203 err = 'PIN must not contain "-".' 1204 1204 s_logger.info('%s entered invalid PIN containing "-"' % (s_id)) 1205 1205 elif len(n) != 10: … … 1219 1219 if res and res[0].pin == pin_str: 1220 1220 do = 0 1221 err = 'Application PINs cannot be reused !'1221 err = 'Application PINs cannot be reused.' 1222 1222 s_logger.info('%s entered same PIN as for screening application %s' % (s_id,pin_str)) 1223 1223 … … 1256 1256 s_logger.info('%s/%s successfully used PIN %s' % (s_id,ref,pin_str)) 1257 1257 if student is None: 1258 err = "Student not found"1258 err = "Student record not found." 1259 1259 s_logger.info('%s not found in admission list' % (ref)) 1260 1260 break
Note: See TracChangeset for help on using the changeset viewer.