[elbe-devel] [PATCH 05/40] pylint: fix import order C0411

Manuel Traut manut at linutronix.de
Fri Sep 14 13:56:17 CEST 2018


pylint complained about the order of imports in several files.

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

diff --git a/elbepack/updated.py b/elbepack/updated.py
index 7e2418f5..09e8d674 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
diff --git a/test/updated.py b/test/updated.py
index 3e7cf704..0c3b6bfd 100755
--- a/test/updated.py
+++ b/test/updated.py
@@ -8,19 +8,19 @@
 
 from __future__ import print_function
 
-import soaplib
 import sys
 import threading
 import time
 
 from optparse import OptionParser
+from wsgiref.simple_server import make_server
+
 from spyne.model.primitive import String
 from spyne import Application, rpc, ServiceBase
 from spyne.protocol.soap import Soap11
 from spyne.server.wsgi import WsgiApplication
-from suds.client import Client
-from wsgiref.simple_server import make_server
 
+from suds.client import Client
 
 class MonitorService (ServiceBase):
     @rpc(String)
-- 
2.19.0.rc2




More information about the elbe-devel mailing list