Move from deprecated readfp to read_file

This commit is contained in:
Markus Unterwaditzer 2017-07-15 22:50:59 +02:00
parent 3affea685a
commit e3060529a5

View file

@ -91,7 +91,7 @@ class _ConfigReader:
def __init__(self, f):
self._file = f
self._parser = c = RawConfigParser()
c.readfp(f)
c.read_file(f)
self._seen_names = set()
self._general = {}