[elbe-devel] [PATCH 19/25] pylint - rmlog: remove unused parameter

Manuel Traut manut at linutronix.de
Wed Aug 29 21:02:49 CEST 2018


Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 elbepack/daemons/soap/esoap.py | 2 +-
 elbepack/projectmanager.py     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/elbepack/daemons/soap/esoap.py b/elbepack/daemons/soap/esoap.py
index ccd2139a..b81e01c4 100644
--- a/elbepack/daemons/soap/esoap.py
+++ b/elbepack/daemons/soap/esoap.py
@@ -357,7 +357,7 @@ class ESoap (ServiceBase):
     @soap_faults
     def rm_log(self, uid, builddir):
         self.app.pm.open_project(uid, builddir)
-        self.app.pm.rm_log(uid, builddir)
+        self.app.pm.rm_log(uid)
 
     @rpc(String, _returns=String)
     @authenticated_uid
diff --git a/elbepack/projectmanager.py b/elbepack/projectmanager.py
index b66a1d7a..140d1a65 100644
--- a/elbepack/projectmanager.py
+++ b/elbepack/projectmanager.py
@@ -512,7 +512,7 @@ class ProjectManager(object):
             f.close()
         return data
 
-    def rm_log(self, userid, builddir):
+    def rm_log(self, userid):
         ep = self._get_current_project(userid)
         with open(os.path.join(ep.builddir, 'log.txt'), 'w', 0):
             pass
-- 
2.18.0




More information about the elbe-devel mailing list