[elbe-devel] [PATCH 11/25] pylint - db: fix useless statement 'None'

Manuel Traut manut at linutronix.de
Wed Aug 29 21:02:41 CEST 2018


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

diff --git a/elbepack/db.py b/elbepack/db.py
index f1c0489f..bf1dba3f 100644
--- a/elbepack/db.py
+++ b/elbepack/db.py
@@ -884,7 +884,7 @@ class ElbeDB(object):
             f.description = description
         else:
             s.delete(f)
-            None
+            return None
 
         return filename
 
-- 
2.18.0




More information about the elbe-devel mailing list