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

Olivier Dion dion at linutronix.de
Mon May 25 17:41:59 CEST 2020


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

Signed-off-by: Olivier Dion <dion 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.26.2




More information about the elbe-devel mailing list