Changeset 3485
- Timestamp:
- 3 May 2008, 06:08:35 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPImport.py
r3481 r3485 455 455 level = getattr(context,"%(level_id)s" % vars()) 456 456 self.portal_workflow.doActionFor(level,'open') 457 level.getContent().edit(mapping={'session': "%(session_id)s" % mapping,}) 457 session_id = mapping.get('session_id','') 458 if session_id: 459 level.getContent().edit(mapping={'session': "%s" % session_id,}) 458 460 self.portal_workflow.doActionFor(level,'close') 459 461 self._v_level_created += level_ident,
Note: See TracChangeset for help on using the changeset viewer.