Changeset 1409 for WAeUP_SRP/trunk/skins/waeup_utilities
- Timestamp:
- 12 Feb 2007, 08:50:49 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_utilities/fixLevelFromResults.py
r1408 r1409 21 21 response.setHeader('Content-type','text/html; charset=ISO-8859-15') 22 22 response.write(s) 23 23 24 24 wftool = context.portal_workflow 25 25 mtool = context.portal_membership … … 60 60 #lc = "S" 61 61 level = "%d00" % (level_cc + 1) 62 #context.students_catalog.modifyRecord(id = sbrain.id, 62 #context.students_catalog.modifyRecord(id = sbrain.id, 63 63 # level="", 64 64 # verdict = "") … … 74 74 #study_course.getContent().edit(mapping = {'current_level':level, 75 75 # 'current_verdict':verdict}) 76 #context.students_catalog.modifyRecord(id = sbrain.id, 76 #context.students_catalog.modifyRecord(id = sbrain.id, 77 77 # level=level, 78 78 # verdict=verdict) … … 81 81 82 82 #rwrite(ec +"--"+ sbrain.id +"--"+ sbrain.matric_no +"--"+ old_level +"--"+ level +"<br />") 83 s = '"%s", 83 s = '"%s","%s","%s","%s","%s","%s","%s","%s"' % (str(lc),ec, 84 84 sbrain.id, 85 85 sbrain.matric_no, … … 93 93 s = '"","%s","%s","%s","",""' % (ec,sbrain.id,sbrain.matric_no) 94 94 #lines.append(s) 95 95 96 96 rwrite("%s<br />" %s) 97 97 # count += 1
Note: See TracChangeset for help on using the changeset viewer.