Skip to content

Commit 9d46313

Browse files
authored
Merge pull request #306 from KoffieNu/master
Bug #296: python 3.12 compability
2 parents ccdc386 + fc03183 commit 9d46313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ifupdown2/ifupdown/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def read_config(self):
138138
configStr = '[ifupdown2]\n' + config
139139
configFP = io.StringIO(configStr)
140140
parser = configparser.RawConfigParser()
141-
parser.readfp(configFP)
141+
parser.read_file(configFP)
142142
configmap_g = dict(parser.items('ifupdown2'))
143143

144144
# Preprocess config map

0 commit comments

Comments
 (0)