Commit e12e82b8 authored by Romain Courteaud's avatar Romain Courteaud

Dead code

parent 0a817ea5
...@@ -427,7 +427,6 @@ class SlapTool(BaseTool): ...@@ -427,7 +427,6 @@ class SlapTool(BaseTool):
user = self.getPortalObject().portal_membership.getAuthenticatedMember()\ user = self.getPortalObject().portal_membership.getAuthenticatedMember()\
.getUserName() .getUserName()
self._logAccess(user, computer_id, '#error while installing %s' % url) self._logAccess(user, computer_id, '#error while installing %s' % url)
#return self._softwareReleaseError(url, computer_id, error_log)
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'buildingComputerPartition') 'buildingComputerPartition')
...@@ -860,16 +859,6 @@ class SlapTool(BaseTool): ...@@ -860,16 +859,6 @@ class SlapTool(BaseTool):
'invalidate'): 'invalidate'):
software_installation.invalidate(comment=comment) software_installation.invalidate(comment=comment)
@convertToREST
def _softwareReleaseError(self, url, computer_id, error_log):
"""
Add an error for a software Release workflow
"""
computer_document = self._getComputerDocument(computer_id)
software_installation = self._getSoftwareInstallationForComputer(url,
computer_document)
software_installation.reportError()
@convertToREST @convertToREST
def _buildingComputerPartition(self, computer_id, computer_partition_id): def _buildingComputerPartition(self, 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