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

Torben Hohn torben.hohn at linutronix.de
Thu Sep 20 11:06:44 CEST 2018


On Fri, Sep 14, 2018 at 01:56:17PM +0200, Manuel Traut wrote:
> pylint complained about the order of imports in several files.
> 
> Signed-off-by: Manuel Traut <manut at linutronix.de>

Reviewed-by: Torben Hohn <torben.hohn 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
> 

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20180920/8c359aab/attachment.sig>


More information about the elbe-devel mailing list