- Timestamp:
- 12 Feb 2009, 07:35:52 (16 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTool.py
r3858 r3961 963 963 logger.info('no entry_session for %s provided' % (reg_no)) 964 964 return 965 else: 966 es = brain.entry_session 967 if len(es) == 1: 968 es = '0%c' % es 965 969 966 970 if not hasattr(self,"_v_certificates"): … … 1042 1046 1043 1047 #da['entry_session'] = entry_session 1044 da['entry_session'] = brain.entry_session1048 da['entry_session'] = es 1045 1049 da['jamb_lastname'] = brain.lastname 1046 1050 da['jamb_middlename'] = brain.middlenames # different field names! … … 1106 1110 else: 1107 1111 dsc['current_level'] = '100' 1108 dsc['current_session'] = brain.entry_session1112 dsc['current_session'] = es 1109 1113 studycourse.getContent().edit(mapping=dsc) 1110 1114 self.do_timing() -
WAeUP_SRP/trunk/Widgets.py
r3897 r3961 295 295 v = str(value) 296 296 except ValueError: 297 datastructure.setError(widget_id, "'%s' not a valid sessionkey" % value)297 datastructure.setError(widget_id, "'%s' not a valid mode key" % value) 298 298 return 0 299 299 studymodes = self._getStudyModes() … … 302 302 #import pdb;pdb.set_trace() 303 303 if not studymodes.has_key(value): 304 datastructure.setError(widget_id, "'%s' not a valid sessionkey" % v)304 datastructure.setError(widget_id, "'%s' not a valid mode key" % v) 305 305 return 0 306 306 if self.is_required and not len(v): 307 datastructure.setError(widget_id, " sessionkey required")307 datastructure.setError(widget_id, "mode key required") 308 308 return 0 309 309 -
WAeUP_SRP/trunk/skins/waeup_utilities/checkApprovedAmount.py
r3935 r3961 42 42 continue 43 43 counter +=1 44 if counter == 5:45 break46 44 logger.info('%s, %s, %s, %s, %s ,%s' % (payment.student_id, payment.order_id, payment.amount, payment.resp_approved_amount, payment.surcharge, payment.resp_desc)) 47 45
Note: See TracChangeset for help on using the changeset viewer.