X-Git-Url: http://www.iramuteq.org/git?a=blobdiff_plain;f=configparser.py;h=11baaaf021df889a7f36787f78164821c5a4563b;hb=refs%2Fheads%2F3.0;hp=d924d29f27b9bb7eed8cc89e736453fb044f1d41;hpb=eaa044d1147e26b82942ce56d5965c83fdddf069;p=iramuteq diff --git a/configparser.py b/configparser.py index d924d29..11baaaf 100644 --- a/configparser.py +++ b/configparser.py @@ -125,7 +125,7 @@ ConfigParser -- responsible for parsing a list of #------------------------------------ # import des modules python #------------------------------------ -from collections import MutableMapping +from collections.abc import MutableMapping import io import itertools import re @@ -713,7 +713,7 @@ class RawConfigParser(MutableMapping): read_ok = [] for filename in filenames: try: - with open(filename, encoding=encoding) as fp: + with open(filename, encoding='utf8') as fp: self._read(fp, filename) except IOError: continue