[elbe-devel] [PATCH] debianize: fix fallout from unused import removal

Manuel Traut manut at linutronix.de
Thu Jun 29 14:55:03 CEST 2017


few days ago, i removed all unused imports. This one was
wrongly detected by pylint..

Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 elbepack/debianize/debianize.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/elbepack/debianize/debianize.py b/elbepack/debianize/debianize.py
index 1180e9d8..2db30b0c 100644
--- a/elbepack/debianize/debianize.py
+++ b/elbepack/debianize/debianize.py
@@ -20,6 +20,14 @@
 
 from npyscreen import NPSAppManaged
 
+# don't remove these imports; even if pylint, etc believes they are unused
+from elbepack.debianize.kernel import Kernel
+from elbepack.debianize.uboot  import UBoot
+from elbepack.debianize.barebox import BareBox
+
+from elbepack.debianize.base import DebianizeBase
+
+
 class Debianize (NPSAppManaged):
     def __init__ (self, debianizer):
         self.debianizer = debianizer
-- 
2.13.2





More information about the elbe-devel mailing list