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

- make method publishable

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42584 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d7f01cce
...@@ -151,6 +151,7 @@ class SlapTool(BaseTool): ...@@ -151,6 +151,7 @@ class SlapTool(BaseTool):
security.declareProtected(Permissions.AccessContentsInformation, 'getComputerPartitionCertificate') security.declareProtected(Permissions.AccessContentsInformation, 'getComputerPartitionCertificate')
def getComputerPartitionCertificate(self, computer_id, computer_partition_id): def getComputerPartitionCertificate(self, computer_id, computer_partition_id):
"""Method to fetch certificate"""
self.REQUEST.response.setHeader('Content-Type', 'text/xml') self.REQUEST.response.setHeader('Content-Type', 'text/xml')
software_instance = self._getSoftwareInstanceForComputerPartition( software_instance = self._getSoftwareInstanceForComputerPartition(
computer_id, computer_partition_id) computer_id, computer_partition_id)
......
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