[elbe-devel] [PATCH 46/75] daemons soap authentication: Fix Pylint
Olivier Dion
dion at linutronix.de
Mon May 25 17:42:39 CEST 2020
23:4: R1705: (no-else-return)
106:4: R1705: (no-else-return)
Signed-off-by: Olivier Dion <dion at linutronix.de>
---
elbepack/daemons/soap/authentication.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/elbepack/daemons/soap/authentication.py b/elbepack/daemons/soap/authentication.py
index 6d2850ff..da738816 100644
--- a/elbepack/daemons/soap/authentication.py
+++ b/elbepack/daemons/soap/authentication.py
@@ -20,6 +20,7 @@ def authenticated_uid(func):
@authenticated_uid
def get_files (self, uid, builddir):
"""
+ # pylint: disable=no-else-return
if func.__code__.co_argcount == 2:
@wraps(func)
def wrapped(self):
@@ -103,6 +104,7 @@ def authenticated_admin(func):
@authenticated_uid
def get_files (self, uid, builddir):
"""
+ # pylint: disable=no-else-return
if func.__code__.co_argcount == 1:
@wraps(func)
def wrapped(self):
--
2.26.2
More information about the elbe-devel
mailing list