Back to index

plone3  3.1.7
updateProductionStage.py
Go to the documentation of this file.
00001 ## Script (Python) "updateProductionStage"
00002 ##parameters=sci
00003 # Copy the object in development to review and production.
00004 object = sci.object
00005 st = object.portal_staging
00006 st.updateStages(object, 'dev', ['review', 'prod'],
00007                 sci.kwargs.get('comment', ''))