Commit 3fbae2d3 authored by Gabriel Monnerat's avatar Gabriel Monnerat

remove useless code because Slave Partition is obsolete

parent c3a65e0f
...@@ -145,10 +145,6 @@ class SlapTool(BaseTool): ...@@ -145,10 +145,6 @@ class SlapTool(BaseTool):
portal_type="Computer Partition"): portal_type="Computer Partition"):
slap_computer._computer_partition_list.append( slap_computer._computer_partition_list.append(
self._convertToSlapPartition(computer_partition_document, computer_id)) self._convertToSlapPartition(computer_partition_document, computer_id))
for slave_partition_document in computer_partition_document\
.contentValues(portal_type='Slave Partition'):
slap_computer._computer_partition_list.append(
self._convertToSlapPartition(slave_partition_document, computer_id))
return xml_marshaller.xml_marshaller.dumps(slap_computer) return xml_marshaller.xml_marshaller.dumps(slap_computer)
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
......
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