Commit 864efe24 authored by Romain Courteaud's avatar Romain Courteaud

SPL is unknown (it may be cancelled).

parent 03a326ea
...@@ -709,7 +709,8 @@ class SlapTool(BaseTool): ...@@ -709,7 +709,8 @@ class SlapTool(BaseTool):
portal.portal_preferences.getPreferredInstanceCleanupResource()]: portal.portal_preferences.getPreferredInstanceCleanupResource()]:
if portal.portal_workflow.isTransitionPossible(delivery, 'stop'): if portal.portal_workflow.isTransitionPossible(delivery, 'stop'):
delivery.stop() delivery.stop()
delivery.deliver() if portal.portal_workflow.isTransitionPossible(delivery, 'deliver'):
delivery.deliver()
# XXX Integrate with REST API # XXX Integrate with REST API
# Code duplication will be needed until SlapTool is removed # Code duplication will be needed until SlapTool is removed
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment