Commit 9e594ab4 authored by Łukasz Nowak's avatar Łukasz Nowak

Avoid delivery usage.

parent f1bc26c6
...@@ -107,9 +107,10 @@ if can_allocate:\n ...@@ -107,9 +107,10 @@ if can_allocate:\n
if software_release_url in software_release_capacity_dict:\n if software_release_url in software_release_capacity_dict:\n
software_release_capacity = software_release_capacity_dict[software_release_url]\n software_release_capacity = software_release_capacity_dict[software_release_url]\n
else:\n else:\n
delivery_line = instance.getCausalityValue().getMovementList[0]\n software_release = portal.portal_catalog.getResultValue(\n
software_release = delivery_line.getAggregateValue(portal_type=\'Software Release\')\n portal_type=\'Software Release\',\n
if software_release:\n url_string={\'query\': software_release_url, \'key\': \'ExactMatch\'})\n
if software_release is not None:\n
software_release_capacity = software_release.getCapacityQuantity(1)\n software_release_capacity = software_release.getCapacityQuantity(1)\n
software_release_capacity_dict[software_release_url] = software_release_capacity\n software_release_capacity_dict[software_release_url] = software_release_capacity\n
\n \n
......
209 210
\ 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