- Timestamp:
- 27 Mar 2008, 14:03:10 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_pins/enable_pins.py
r1582 r3385 36 36 rec = res[0] 37 37 uid = rec.pin 38 if not rec.student.startswith('disabled'): 39 continue 38 student_id = rec.student 39 # if not rec.student.startswith('disabled'): 40 # continue 40 41 dict = {"pin": uid, 41 42 "student": "" 42 43 } 43 44 pincat.modifyRecord(**dict) 44 logger.info('%s enabled pin %s ' % (member,uid))45 logger.info('%s enabled pin %s for student %s' % (member,uid,student_id)) 45 46 return request.RESPONSE.redirect("%s/campus/pins/search_pins" % context.portal_url())
Note: See TracChangeset for help on using the changeset viewer.