File: python3.12.diff

package info (click to toggle)
lightproof 1.6%2Bgit20190911.c299ddd-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 496 kB
  • sloc: python: 1,363; xml: 48; makefile: 35; sh: 11
file content (21 lines) | stat: -rw-r--r-- 505 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: use ConfigParser instead of SafeConfigParser to fix build with python 3.12
Author: Rene Engelhard <rene@debian.org>

---

Origin: vendor
Bug-Debian: https://bugs.debian.org/1074665
Forwarded: no
Last-Update: 2024-07-07

--- lightproof-1.6.orig/make.py
+++ lightproof-1.6/make.py
@@ -36,7 +36,7 @@ if len(sys.argv) == 1:
 eg. python make.py src/en/en.cfg""")
     sys.exit(0)
 
-fArgs = cp.SafeConfigParser()
+fArgs = cp.ConfigParser()
 for i in sys.argv[1:]:
     try:
         fArgs.read(i)