Merge "Replace deprecated readfp method with read_file"

This commit is contained in:
Zuul
2022-07-25 18:58:50 +00:00
committed by Gerrit Code Review
+1 -1
View File
@@ -101,7 +101,7 @@ class SupportMatrixDirective(rst.Directive):
"support-matrix.ini")
rel_fpath, fpath = env.relfn2path(fname)
with open(fpath) as fp:
cfg.readfp(fp)
cfg.read_file(fp)
# This ensures that the docs are rebuilt whenever the
# .ini file changes