[elbe-devel] [PATCH 05/10] soapclient: Fix Pylint

Christian Teklenborg chris at linutronix.de
Tue Jun 22 16:52:29 CEST 2021


31:0: E0012: (Bad option value 'import-outside-toplevel')

Signed-off-by: Christian Teklenborg <chris at linutronix.de>
---
 elbepack/soapclient.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/elbepack/soapclient.py b/elbepack/soapclient.py
index 7d66ffd2..3f01f681 100644
--- a/elbepack/soapclient.py
+++ b/elbepack/soapclient.py
@@ -7,6 +7,7 @@
 # SPDX-License-Identifier: GPL-3.0-or-later
 
 import binascii
+import logging
 import socket
 import time
 import sys
@@ -28,8 +29,6 @@ from elbepack.elbexml import ElbeXML, ValidationMode
 from elbepack.version import elbe_version, elbe_initvm_packagelist
 
 def set_suds_debug(debug):
-    # pylint: disable=import-outside-toplevel
-    import logging
     if debug:
         logging.basicConfig(level=logging.INFO)
         logging.getLogger('suds.client').setLevel(logging.DEBUG)
-- 
2.20.1



More information about the elbe-devel mailing list