mirror of https://github.com/tLDP/python-tldp
use the proper Python 3.x name for [Safe]ConfigParser
This commit is contained in:
parent
def752760e
commit
5af0c2a955
|
@ -17,7 +17,7 @@ CLISEP = CFGSEP = '-' # -- dash -
|
|||
MULTIVALUESEP = ','
|
||||
|
||||
try:
|
||||
from configparser import SafeConfigParser as ConfigParser
|
||||
from configparser import ConfigParser as ConfigParser
|
||||
except ImportError:
|
||||
from ConfigParser import SafeConfigParser as ConfigParser
|
||||
|
||||
|
|
Loading…
Reference in New Issue