[elbe-devel] [PATCH v2 06/66] commands sign: Fix Pylint

Olivier Dion dion at linutronix.de
Fri Jun 5 19:06:30 CEST 2020


13:4: R1705: (no-else-return)

Signed-off-by: Olivier Dion <dion at linutronix.de>
Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/commands/sign.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/elbepack/commands/sign.py b/elbepack/commands/sign.py
index 744b51ef..94a5b88d 100644
--- a/elbepack/commands/sign.py
+++ b/elbepack/commands/sign.py
@@ -15,5 +15,4 @@ def run_command(argv):
         print("Please pass the name of the file to sign "
               "and a valid gnupg fingerprint.")
         return
-    else:
-        sign_file(argv[0], argv[1])
+    sign_file(argv[0], argv[1])
-- 
2.27.0




More information about the elbe-devel mailing list