[elbe-devel] [PATCH v2 06/28] Remove logpath from project manager and db

dion at linutronix.de dion at linutronix.de
Fri Jun 21 19:39:58 CEST 2019


From: Olivier Dion <dion at linutronix.de>

Signed-off-by: Olivier Dion <dion at linutronix.de>
---
 elbepack/db.py             |  1 -
 elbepack/projectmanager.py | 10 ++++------
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/elbepack/db.py b/elbepack/db.py
index f2333c87..7590329d 100644
--- a/elbepack/db.py
+++ b/elbepack/db.py
@@ -455,7 +455,6 @@ class ElbeDB(object):
     def load_project(
             self,
             builddir,
-            logpath=None,
             url_validation=ValidationMode.CHECK_ALL):
 
         # pass exceptions if hook-scripts can't be loaded (they're optional)
diff --git a/elbepack/projectmanager.py b/elbepack/projectmanager.py
index 0e241a66..f8ed894f 100644
--- a/elbepack/projectmanager.py
+++ b/elbepack/projectmanager.py
@@ -108,9 +108,8 @@ class ProjectManager(object):
                 raise
 
             # Open the new project
-            logpath = path.join(builddir, "log.txt")
-            ep = self.db.load_project(
-                builddir, logpath, url_validation=url_validation)
+            ep = self.db.load_project(builddir,
+                                      url_validation=url_validation)
 
             self.userid2project[userid] = ep
             self.builddir2userid[builddir] = userid
@@ -140,9 +139,8 @@ class ProjectManager(object):
             self._close_current_project(userid)
 
             # Load project from the database
-            logpath = path.join(builddir, "log.txt")
-            ep = self.db.load_project(
-                builddir, logpath, url_validation=url_validation)
+            ep = self.db.load_project(builddir,
+                                      url_validation=url_validation)
 
             # Add project to our dictionaries
             self.userid2project[userid] = ep
-- 
2.11.0




More information about the elbe-devel mailing list