Changeset 1198
- Timestamp:
- 5 Jan 2007, 07:50:17 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTool.py
r1194 r1198 226 226 # Level 227 227 # 228 l = getattr(studycourse,level,None)229 if l is None:230 studycourse.invokeFactory('StudentStudyLevel', level)231 l = getattr(studycourse, level)232 self.portal_workflow.doActionFor(l,'open',dest_container=l)233 l.getContent().edit(mapping={'Title': "Level %s" % level})228 ## l = getattr(studycourse,level,None) 229 ## if l is None: 230 ## studycourse.invokeFactory('StudentStudyLevel', level) 231 ## l = getattr(studycourse, level) 232 ## self.portal_workflow.doActionFor(l,'open',dest_container=l) 233 ## l.getContent().edit(mapping={'Title': "Level %s" % level}) 234 234 ###) 235 235
Note: See TracChangeset for help on using the changeset viewer.