Commit 42c516e4 authored by Antoine Catton's avatar Antoine Catton

Avoid bug during master renaming.

parent 6dc46a62
......@@ -66,10 +66,8 @@ parent = software_instance.getPredecessorRelatedValue(\n
parent_predecessor_list = parent.getPredecessorValueList()\n
hosting_subscription_predecessor_list = hosting_subscription.getPredecessorValueList()\n
\n
\n
hosting_subscription_predecessor_list.append(\n
parent_predecessor_list.pop(parent_predecessor_list.index(software_instance))\n
)\n
tmp = parent_predecessor_list.pop(parent_predecessor_list.index(software_instance))\n
hosting_subscription_predecessor_list.append(tmp)\n
\n
hosting_subscription.setPredecessorValueList(hosting_subscription_predecessor_list)\n
parent.setPredecessorValueList(parent_predecessor_list)\n
......
341
\ No newline at end of file
342
\ 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