Traceback is not used
[deliverable/lttng-ivc.git] / lttng_ivc / utils / runtime.py
index 52258e8388b589f4d85bc13a61408f8381dcaca1..3a776cbf2169d348a6f9b78fe6142b80e5802efe 100644 (file)
@@ -7,7 +7,6 @@ import logging
 import shutil
 import contextlib
 import pprint
-import traceback
 
 from tempfile import TemporaryDirectory
 
@@ -67,6 +66,9 @@ class Runtime(object):
     def add_project(self, project):
         self.__projects.append(project)
 
+    def remove_project(self, project):
+        self.__projects.remove(project)
+
     def subprocess_signal(self, subprocess_uuid, signal):
         self.__subproces[subprocess_uuid].send_signal(signal)
 
@@ -259,4 +261,3 @@ class Runtime(object):
         # Copy the lttng_home used at runtime using hardlink to prevent useless
         # data duplication
         shutil.copytree(self.lttng_home, self.__post_runtime_lttng_home_path, copy_function=os.link)
-
This page took 0.029031 seconds and 5 git commands to generate.