Changeset 1805 for WAeUP_SRP/trunk/Widgets.py
- Timestamp:
- 22 May 2007, 20:46:45 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Widgets.py
r1804 r1805 195 195 datastructure.setError(widget_id, "'%s' not a valid session key" % value) 196 196 return 0 197 197 198 198 if len(v) == 1: 199 199 v = value = '0%c' % v … … 265 265 datastructure.setError(widget_id, "'%s' not a valid level key" % value) 266 266 return 0 267 268 if not value: 267 268 if not value: 269 269 v = value = '100' 270 270 #import pdb;pdb.set_trace() … … 525 525 pume = jamb_nr_catalog(jamb_reg_no = value) 526 526 if len(pume) < 1: 527 err = 'No student with Registration Number %s' % (value)527 err = 'No student record with registration number %s.' %value 528 528 else: 529 529 datastructure['pume'] = pume[0] … … 998 998 if datastructure.errors: 999 999 do = 0 1000 datastructure.setError(widget_id, ' errors in other data, PIN neither checked nor used')1000 datastructure.setError(widget_id, 'PIN neither checked nor used.') 1001 1001 s_logger.info('%s/%s entered wrong data together with PIN %s' % (s_id,ref,pin_str)) 1002 1002 while do:
Note: See TracChangeset for help on using the changeset viewer.