TISbackup/libtisbackup/iniparse/configparser.py
2022-04-25 10:02:43 +02:00

8 lines
271 B
Python

try:
from ConfigParser import *
# not all objects get imported with __all__
from ConfigParser import Error, InterpolationMissingOptionError
except ImportError:
from configparser import *
from configparser import Error, InterpolationMissingOptionError