Commit 95041297 authored by Łukasz Nowak's avatar Łukasz Nowak

Drop "optimisation".

Side effect of returning self slave in slave list is used in SlapTool.
parent bdc67f45
......@@ -85,9 +85,6 @@ if software_instance is not None and computer_partition is not None and software
\n
for sale_packing_list_line in sale_packing_list_line_list:\n
instance = sale_packing_list_line.getAggregateValue(portal_type=\'Slave Instance\')\n
if instance.getUid() == software_instance.getUid():\n
# ignore self\n
continue\n
slave_instance = dict(slave_title=instance.getTitle(),\n
slap_software_type=instance.getSourceReference(),\n
slave_reference=instance.getReference(),\n
......
661
\ No newline at end of file
662
\ 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