blob: 37a3a87735f3761e6a73b8f42b3c9f6f0b5b976b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
https://src.fedoraproject.org/rpms/subversion/raw/rawhide/f/subversion-1.14.1-python-3.11-build.patch
Use read_file instead of deprecated readfp - removed in Python 3.11
--- a/build/generator/gen_base.py
+++ b/build/generator/gen_base.py
@@ -76,7 +76,7 @@
# Now read and parse build.conf
parser = configparser.ConfigParser()
- parser.readfp(open(fname))
+ parser.read_file(open(fname))
self.conf = build_path(os.path.abspath(fname))
|