[elbe-devel] [PATCH 69/75] pbuilder: Fix Pylint

Olivier Dion dion at linutronix.de
Mon May 25 17:43:02 CEST 2020


133:0: R1710: (inconsistent-return-statements)

Note.  Returned argument is never used by callers.  This could be removed.

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

diff --git a/elbepack/pbuilder.py b/elbepack/pbuilder.py
index e6f0b3cf..6f266a93 100644
--- a/elbepack/pbuilder.py
+++ b/elbepack/pbuilder.py
@@ -185,3 +185,5 @@ def pbuilder_write_repo_hook(builddir, xml, cross):
 
     fp.write(mirror)
     fp.close()
+
+    return ""
-- 
2.26.2




More information about the elbe-devel mailing list