Changeset 1177 for WAeUP_SRP/trunk/Widgets.py
- Timestamp:
- 2 Jan 2007, 15:02:02 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Widgets.py
r1175 r1177 384 384 value = datastructure[widget_id].upper() 385 385 err = 0 386 record = datastructure[self.reference] 386 387 if not valid: 387 388 err = 'Invalid String' 389 elif not record: 390 err = 0 388 391 else: 389 392 #import pdb;pdb.set_trace() 390 record = datastructure[self.reference]391 393 found = False 392 394 cvs = [] … … 429 431 if not valid: 430 432 err = 'Invalid MatricNo %s.' % (value) 433 logger.info('"%s","invalid MatricNo"' % value) 431 434 else: 432 435 widget_id = self.getWidgetId() 433 436 value = datastructure[widget_id].upper() 434 #s = getStudentByRegNo(self,value)437 datastructure['student'] = None 435 438 while not err: 436 439 res = returning(matric_no = value) 437 440 if len(res) < 1: 441 logger.info('"%s","MatricNo not found."' % value) 438 442 err = 'No Student with MatricNo %s.' % (value) 439 443 continue
Note: See TracChangeset for help on using the changeset viewer.