Changeset 1490 for WAeUP_SRP/trunk/skins/waeup_utilities
- Timestamp:
- 25 Feb 2007, 00:32:45 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_utilities/fixLevelForNewStudents.py
r1486 r1490 47 47 ##res = aq_portal(query) 48 48 query = Eq('level','100') 49 res = aq_students(query) 49 #res = aq_students(query) 50 res = students_cat(level='100') 50 51 #set_trace() 51 52 count = 0 53 count_full = 0 52 54 commit_count = 0 53 55 logger.info("started for %s students" % len(res)) 54 56 for sbrain in res: 57 #count_full += 1 58 #rwrite("%s: %s %s %s <br />" % (count_full,sbrain.id,sbrain.entry_mode,sbrain.level)) 55 59 student_obj = getattr(students,sbrain.id) 56 60 if sbrain.entry_mode == "":
Note: See TracChangeset for help on using the changeset viewer.