From 950412970995c7d77beb49060ea2f5e473940f5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Tue, 20 Mar 2012 10:44:57 +0100 Subject: [PATCH] Drop "optimisation". Side effect of returning self slave in slave list is used in SlapTool. --- ...nListLine_asSoftwareInstnaceComputerPartitionMergedDict.xml | 3 --- master/bt5/vifib_slap/bt/revision | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SalePackinListLine_asSoftwareInstnaceComputerPartitionMergedDict.xml b/master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SalePackinListLine_asSoftwareInstnaceComputerPartitionMergedDict.xml index ef75b2967..fdd2be444 100644 --- a/master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SalePackinListLine_asSoftwareInstnaceComputerPartitionMergedDict.xml +++ b/master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SalePackinListLine_asSoftwareInstnaceComputerPartitionMergedDict.xml @@ -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 diff --git a/master/bt5/vifib_slap/bt/revision b/master/bt5/vifib_slap/bt/revision index c21b7b4a7..f95076e1d 100644 --- a/master/bt5/vifib_slap/bt/revision +++ b/master/bt5/vifib_slap/bt/revision @@ -1 +1 @@ -661 \ No newline at end of file +662 \ No newline at end of file -- 2.30.9