void-packages/srcpkgs/offlineimap/patches/python3.12-config.patch

12 lines
376 B
Diff

--- ./offlineimap/CustomConfig.py.orig 2023-09-29 15:01:26.825986775 -0400
+++ ./offlineimap/CustomConfig.py 2023-09-29 15:02:02.804202132 -0400
@@ -17,7 +17,7 @@
import os
import re
from sys import exc_info
-from configparser import SafeConfigParser, Error
+from configparser import ConfigParser as SafeConfigParser, Error
from offlineimap.localeval import LocalEval