void-packages/srcpkgs/coccigrep/patches/python3.12.patch

12 lines
391 B
Diff

--- ./src/coccigrep.py.orig 2023-09-29 14:43:43.818620944 -0400
+++ ./src/coccigrep.py 2023-09-29 14:44:02.016730018 -0400
@@ -15,7 +15,7 @@
# 02110-1301, USA.
try:
- from configparser import SafeConfigParser
+ from configparser import ConfigParser as SafeConfigParser
except Exception:
from ConfigParser import SafeConfigParser
from os import unlink, path, listdir, getcwd