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

Manuel Traut manut at linutronix.de
Fri Sep 14 13:56:31 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 dfed16e0..63dbc826 100644
--- a/elbepack/daemons/soap/esoap.py
+++ b/elbepack/daemons/soap/esoap.py
@@ -353,7 +353,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 b2593630..e8613bca 100644
--- a/elbepack/projectmanager.py
+++ b/elbepack/projectmanager.py
@@ -490,7 +490,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.19.0.rc2




More information about the elbe-devel mailing list