[elbe-devel] [PATCH 28/40] pylint: cmd/updated.py - disable unused argument

Manuel Traut manut at linutronix.de
Fri Sep 14 13:56:40 CEST 2018


the function is a callback and therefor needs those arguments

Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 elbepack/commands/updated.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/elbepack/commands/updated.py b/elbepack/commands/updated.py
index 2f8c3337..7dc1ed6f 100644
--- a/elbepack/commands/updated.py
+++ b/elbepack/commands/updated.py
@@ -25,6 +25,7 @@ except ImportError:
 
 
 def shutdown(signum, fname, status):
+    #pylint: disable=unused-argument
     status.stop = True
     for mon in status.monitors:
         mon.stop()
-- 
2.19.0.rc2




More information about the elbe-devel mailing list