[elbe-devel] [PATCH 28/75] daemons soap faults: Fix Pylint

Olivier Dion dion at linutronix.de
Mon May 25 17:42:21 CEST 2020


75:4: R1705: (no-else-return)
71:0: R0911: (too-many-return-statements)
71:0: R0915: (too-many-statements)

Signed-off-by: Olivier Dion <dion at linutronix.de>
---
 elbepack/daemons/soap/faults.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/elbepack/daemons/soap/faults.py b/elbepack/daemons/soap/faults.py
index 288d1c8f..c0d05fb5 100644
--- a/elbepack/daemons/soap/faults.py
+++ b/elbepack/daemons/soap/faults.py
@@ -72,6 +72,9 @@ def soap_faults(func):
     """ decorator, which wraps Exceptions to the proper
         Soap Faults, and raises these.
     """
+    # pylint: disable=no-else-return
+    # pylint: disable=too-many-return-statements
+    # pylint: disable=too-many-statements
     if func.__code__.co_argcount == 1:
         @wraps(func)
         def wrapped(self):
-- 
2.26.2




More information about the elbe-devel mailing list