richard pushed to branch tor-browser-115.11.0esr-13.5-1 at The Tor Project / Applications / Tor Browser
Commits:
-
5826b22f
by Henry Wilkes at 2024-05-21T10:10:27+01:00
2 changed files:
Changes:
... | ... | @@ -309,7 +309,7 @@ class ConfigSettings(collections.abc.Mapping): |
309 | 309 | """Load config data by reading file objects."""
|
310 | 310 | |
311 | 311 | for fp in fps:
|
312 | - self._config.readfp(fp)
|
|
312 | + self._config.read_file(fp)
|
|
313 | 313 | |
314 | 314 | def write(self, fh):
|
315 | 315 | """Write the config to a file object."""
|
... | ... | @@ -49,7 +49,7 @@ class ReplaceRequirements(object): |
49 | 49 | parser = configparser.ConfigParser()
|
50 | 50 | path = os.path.join(self.tox_path, "tox.ini")
|
51 | 51 | with open(path) as f:
|
52 | - parser.readfp(f)
|
|
52 | + parser.read_file(f)
|
|
53 | 53 | deps = parser.get("testenv", "deps")
|
54 | 54 | dep_re = re.compile("(?:.*:\s*)?-r(.*)")
|
55 | 55 |