Commit 2c0c0a0e authored by Marco Mariani's avatar Marco Mariani

remove supervisor configuration at the end of loop

parent e0390350
...@@ -571,6 +571,7 @@ class Partition(object): ...@@ -571,6 +571,7 @@ class Partition(object):
shutil.rmtree(os.path.join(self.instance_path, directory)) shutil.rmtree(os.path.join(self.instance_path, directory))
for file in file_list: for file in file_list:
os.remove(os.path.join(self.instance_path, file)) os.remove(os.path.join(self.instance_path, file))
if os.path.exists(self.supervisord_partition_configuration_path): if os.path.exists(self.supervisord_partition_configuration_path):
os.remove(self.supervisord_partition_configuration_path) os.remove(self.supervisord_partition_configuration_path)
self.updateSupervisor() self.updateSupervisor()
......
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