[elbe-devel] [PATCH v2 05/12] soapclient: Fix Pylint
Torben Hohn
torben.hohn at linutronix.de
Thu Jul 22 17:10:05 CEST 2021
From: Christian Teklenborg <chris at linutronix.de>
31:0: E0012: (Bad option value 'import-outside-toplevel')
Signed-off-by: Christian Teklenborg <chris at linutronix.de>
Reviewed-by: Torben Hohn <torben.hohn 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 7d66ffd26..3f01f6814 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