[elbe-devel] [PATCH 02/25] pylint: cdroms: group apt imports together

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


fix pylint complaint:
elbepack/cdroms.py:20: [C0412(ungrouped-imports), ] Imports from package apt are not grouped

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

diff --git a/elbepack/cdroms.py b/elbepack/cdroms.py
index 5f30f390..a63e655d 100644
--- a/elbepack/cdroms.py
+++ b/elbepack/cdroms.py
@@ -9,6 +9,7 @@
 import os
 
 from apt.package import FetchError
+from apt import Cache
 from elbepack.rpcaptcache import get_rpcaptcache
 from elbepack.repomanager import CdromSrcRepo
 from elbepack.repomanager import CdromBinRepo
@@ -17,7 +18,6 @@ from elbepack.aptpkgutils import XMLPackage
 from elbepack.aptprogress import ElbeAcquireProgress
 from elbepack.filesystem import Filesystem, hostfs
 from elbepack.dump import get_initvm_pkglist
-from apt import Cache
 
 CDROM_SIZE = 640 * 1000 * 1000
 
-- 
2.11.0




More information about the elbe-devel mailing list