[elbe-devel] [PATCH v2 61/66] pbuilder: Fix Pylint

Olivier Dion dion at linutronix.de
Fri Jun 5 19:07:25 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>
Reviewed-by: Torben Hohn <torben.hohn 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.27.0




More information about the elbe-devel mailing list