[elbe-devel] [PATCH 09/13] pylint - updated: reorder imports

Manuel Traut manut at linutronix.de
Thu Aug 30 17:05:20 CEST 2018


updated.py:28, PyLint, Priority: Low
third party import "from spyne import Application" should be placed before "import apt_pkg"

updated.py:29, PyLint, Priority: Low
third party import "from spyne.service import ServiceBase" should be placed before "import apt_pkg"

updated.py:30, PyLint, Priority: Low
third party import "from spyne.decorator import rpc" should be placed before "import apt_pkg"

updated.py:31, PyLint, Priority: Low
third party import "from spyne.model.primitive import String" should be placed before "import apt_pkg"

updated.py:32, PyLint, Priority: Low
third party import "from suds.client import Client" should be placed before "import apt_pkg"

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

diff --git a/elbepack/updated.py b/elbepack/updated.py
index e1aa7866..f7f1393b 100644
--- a/elbepack/updated.py
+++ b/elbepack/updated.py
@@ -22,15 +22,15 @@ from shutil import copyfile, rmtree, copy
 
 from syslog import syslog
 
-import apt
-import apt_pkg
-
 from spyne import Application
 from spyne.service import ServiceBase
 from spyne.decorator import rpc
 from spyne.model.primitive import String
 from suds.client import Client
 
+import apt
+import apt_pkg
+
 from elbepack.aptprogress import (ElbeInstallProgress,
                                   ElbeAcquireProgress, ElbeOpProgress)
 from elbepack.gpg import unsign_file
-- 
2.18.0




More information about the elbe-devel mailing list