Remove dead code

parent cbd66d9c
...@@ -458,10 +458,6 @@ class Partition(object): ...@@ -458,10 +458,6 @@ class Partition(object):
""" """
self.logger.info("Destroying Computer Partition %s..." \ self.logger.info("Destroying Computer Partition %s..." \
% self.computer_partition.getId()) % self.computer_partition.getId())
# Gets actual buildout binary
buildout_binary = os.path.join(self.instance_path, 'sbin', 'buildout')
if not os.path.exists(buildout_binary):
buildout_binary = os.path.join(self.software_path, 'bin', 'buildout')
# Launches "destroy" binary if exists # Launches "destroy" binary if exists
destroy_executable_location = os.path.join(self.instance_path, 'sbin', destroy_executable_location = os.path.join(self.instance_path, 'sbin',
'destroy') 'destroy')
......
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