Merge "Stop using deprecated functions in std Python lib"
This commit is contained in:
commit
04e85c1be0
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user