Merge "Stop using deprecated functions in std Python lib"

This commit is contained in:
Zuul 2022-03-20 13:46:54 +00:00 committed by Gerrit Code Review
commit 04e85c1be0
2 changed files with 2 additions and 2 deletions

View File

@ -207,7 +207,7 @@ class IniCodec(StreamCodec):
def deserialize(self, stream):
parser = self._init_config_parser()
parser.readfp(self._pre_parse(stream))
parser.read_file(self._pre_parse(stream))
return {s: {k:
StringConverter({None: self._default_value}).to_objects(v)

View File

@ -21,7 +21,7 @@ environments if we choose to.
"""
from collections import Mapping
from collections.abc import Mapping
from datetime import datetime
import json
import os