[elbe-devel] [PATCH 10/25] pylint: elbeproject: remove unused imported symbol "template"

Torben Hohn torben.hohn at linutronix.de
Wed Aug 22 10:42:11 CEST 2018


pylint complains:
elbepack/elbeproject.py:38: [W0611(unused-import), ] Unused template imported from elbepack.templates

dont import "template"

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/elbeproject.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/elbeproject.py b/elbepack/elbeproject.py
index 5f58371e..203d6536 100644
--- a/elbepack/elbeproject.py
+++ b/elbepack/elbeproject.py
@@ -36,7 +36,7 @@ from elbepack.pbuilder import (pbuilder_write_config, pbuilder_write_repo_hook,
 from elbepack.repomanager import ProjectRepo
 from elbepack.config import cfg
 from elbepack.pkgutils import extract_pkg
-from elbepack.templates import template, write_pack_template
+from elbepack.templates import write_pack_template
 
 
 class IncompatibleArchitectureException(Exception):
-- 
2.11.0




More information about the elbe-devel mailing list