[elbe-devel] [PATCH 1/2] elbepack: projectmanager: remove unsued read_current_project_log()
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Wed Aug 14 10:29:30 CEST 2024
This method has never been used.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
elbepack/projectmanager.py | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/elbepack/projectmanager.py b/elbepack/projectmanager.py
index 6c4b8602a536..e3ad4b571d47 100644
--- a/elbepack/projectmanager.py
+++ b/elbepack/projectmanager.py
@@ -254,17 +254,6 @@ class ProjectManager:
ep = self._get_current_project(userid)
self.worker.enqueue(GenUpdateJob(ep, base_version))
- def read_current_project_log(self, userid):
- with self.lock:
- ep = self._get_current_project(userid)
- logpath = path.join(ep.builddir, 'log.txt')
- f = open(logpath, 'r')
- try:
- data = f.read()
- finally:
- f.close()
- return data
-
def rm_log(self, userid):
ep = self._get_current_project(userid)
with open(os.path.join(ep.builddir, 'log.txt'), 'wb', 0):
--
2.46.0
More information about the elbe-devel
mailing list