Changeset 2470 for WAeUP_SRP/base
- Timestamp:
- 29 Oct 2007, 09:05:08 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/getLevelSession.py
r2451 r2470 12 12 return fixed session_id from level 13 13 """ 14 try: 15 from Products.zdb import set_trace 16 except: 17 def set_trace(): 18 pass 14 19 import logging 15 20 logger = logging.getLogger('Skins.getLevelSession') … … 26 31 else: 27 32 if changed: 33 context.portal_workflow.doActionFor(level_doc.aq_parent,'open') 28 34 level_doc.edit(mapping={'session': session_id}) 35 context.portal_workflow.doActionFor(level_doc.aq_parent,'close_for_edit') 29 36 return session_id 30 37
Note: See TracChangeset for help on using the changeset viewer.