Commit 9633333b authored by Łukasz Nowak's avatar Łukasz Nowak

Fetch only active (==validated) partitions.

parent 2b592845
......@@ -159,6 +159,7 @@ class SlapTool(BaseTool):
for computer_partition in self.getPortalObject().portal_catalog(
parent_uid=parent_uid,
validation_state="validated",
portal_type="Computer Partition"):
slap_computer._computer_partition_list.append(
self._getSlapPartitionByPackingList(computer_partition.getObject()))
......
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