Skip to content

Commit a195155

Browse files
authored
Merge pull request #120 from hugovk/fix-configparser
Fix ConfigParser compatibilty
2 parents f674e81 + 1455770 commit a195155

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

offlineimap/CustomConfig.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
import os
1818
import re
1919
from sys import exc_info
20-
from configparser import SafeConfigParser, Error
20+
from configparser import ConfigParser, Error
2121
from offlineimap.localeval import LocalEval
2222

2323

24-
class CustomConfigParser(SafeConfigParser):
24+
class CustomConfigParser(ConfigParser):
2525
def __init__(self):
26-
SafeConfigParser.__init__(self)
26+
ConfigParser.__init__(self)
2727
self.localeval = None
2828

2929
def getdefault(self, section, option, default, *args, **kwargs):

0 commit comments

Comments
 (0)