Changeset 277
- Timestamp:
- 02/17/06 15:36:21
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
SimpleBlog/branches/plone-2.0.5-Blogging-APIs/MetaWeblogAPI.py
r276 r277 121 121 wf_tool=getToolByName(self, 'portal_workflow') 122 122 wf_state = wf_tool.getInfoFor(entry, 'review_state', '') 123 if publish and wf_state != 'publish ': # todo!!!!123 if publish and wf_state != 'published': # todo!!!! 124 124 wf_tool.doActionFor(entry, 'publish') 125 125 SimpleBlog/branches/plone-2.0.5-Blogging-APIs/MovableTypeAPI.py
r276 r277 49 49 wf_tool=getToolByName(self, 'portal_workflow') 50 50 wf_state = wf_tool.getInfoFor(post, 'review_state', '') 51 if wf_state != 'publish ':51 if wf_state != 'published': 52 52 wf_tool.doActionFor(post, 'publish') # todo 53 53 return XMLRPCTRUE
