Commit 7004f5ad authored by Łukasz Nowak's avatar Łukasz Nowak

Initialise causality state for cloned deliveries.

parent bc313532
......@@ -94,6 +94,7 @@ if newer_newest_movement is not None:\n
new_cleanup_delivery = cleanup_delivery.Base_createCloneDocument(batch_mode=1)\n
new_cleanup_delivery.setStartDate(DateTime())\n
cleanup_delivery.cancel(comment=\'Cancelled as newer clone is created: %s\' % new_cleanup_delivery.getPath())\n
new_cleanup_delivery.startBuilding()\n
new_cleanup_delivery.confirm(comment=\'Replaced too old cleanup delivery: %s\' % cleanup_delivery.getPath())\n
......
797
\ No newline at end of file
798
\ No newline at end of file
......@@ -203,6 +203,7 @@ else:\n
instance.edit(causality_value=new_delivery)\n
else:\n
raise NotImplementedError\n
new_delivery.startBuilding()\n
\n
elif (service_relative_url == cleanup_service_relative_url):\n
raise NotImplementedError, "Not update should be allowed"\n
......
24
\ No newline at end of file
25
\ No newline at end of file
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