pylint: fix deprecated-class SafeConfigParser

Related: https://pagure.io/freeipa/issue/9278

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Stanislav Levin <slev@altlinux.org>
This commit is contained in:
Florence Blanc-Renaud 2022-11-21 17:14:41 +01:00
parent b9ea3fcbdb
commit 433599fdef

View File

@ -23,7 +23,7 @@ from optparse import (
Option, Values, OptionParser, IndentedHelpFormatter, OptionValueError) Option, Values, OptionParser, IndentedHelpFormatter, OptionValueError)
# pylint: enable=deprecated-module # pylint: enable=deprecated-module
from copy import copy from copy import copy
from configparser import SafeConfigParser from configparser import ConfigParser as SafeConfigParser
from urllib.parse import urlsplit from urllib.parse import urlsplit
import functools import functools