[Erp5-report] r45035 luke - /erp5/trunk/products/Vifib/Tool/SlapTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Apr 4 10:12:23 CEST 2011


Author: luke
Date: Mon Apr  4 10:12:22 2011
New Revision: 45035

URL: http://svn.erp5.org?rev=45035&view=rev
Log:
 - when hosting resource packing list is cancelled the reported state shall be destroyed

Modified:
    erp5/trunk/products/Vifib/Tool/SlapTool.py

Modified: erp5/trunk/products/Vifib/Tool/SlapTool.py
URL: http://svn.erp5.org/erp5/trunk/products/Vifib/Tool/SlapTool.py?rev=45035&r1=45034&r2=45035&view=diff
==============================================================================
--- erp5/trunk/products/Vifib/Tool/SlapTool.py [utf8] (original)
+++ erp5/trunk/products/Vifib/Tool/SlapTool.py [utf8] Mon Apr  4 10:12:22 2011
@@ -407,6 +407,8 @@ class SlapTool(BaseTool):
           slap_partition._need_modification = 1
         elif movement.getSimulationState() == 'delivered':
           slap_partition._requested_state = 'stopped'
+        elif movement.getSimulationState() == 'cancelled':
+          slap_partition._requested_state = 'destroyed'
         else:
           raise NotImplementedError, "Unexpected state %s" % \
                                      movement.getSimulationState()



More information about the Erp5-report mailing list