Commit f9f3d395 authored by Romain Courteaud's avatar Romain Courteaud

Add debug message

parent 9c5855dc
...@@ -173,8 +173,9 @@ else:\n ...@@ -173,8 +173,9 @@ else:\n
raise ValueError, "state should be started, stopped or destroyed"\n raise ValueError, "state should be started, stopped or destroyed"\n
\n \n
predecessor_list = requester_instance.getPredecessorList() + [request_software_instance_url]\n predecessor_list = requester_instance.getPredecessorList() + [request_software_instance_url]\n
uniq_predecessor_list = list(set(predecessor_list))\n
\n \n
assert predecessor_list == list(set(predecessor_list))\n assert predecessor_list == uniq_predecessor_list, "%s != %s" % (predecessor_list, uniq_predecessor_list)\n
\n \n
# update graph to reflect requested operation\n # update graph to reflect requested operation\n
graph[requester_instance.getUid()] = requester_instance.getPredecessorUidList() + [request_software_instance.getUid()]\n graph[requester_instance.getUid()] = requester_instance.getPredecessorUidList() + [request_software_instance.getUid()]\n
......
24 25
\ No newline at end of file \ 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