switch to configparser

This commit is contained in:
Michel Oosterhof 2016-09-18 13:38:20 +00:00
parent 3fd7116d1e
commit 45cbc2b59e
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ This module contains ...
import ConfigParser import ConfigParser
def readConfigFile(cfgfile): def readConfigFile(cfgfile):
cfg = ConfigParser.SafeConfigParser() cfg = ConfigParser.ConfigParser()
cfg.readfp(open(cfgfile)) cfg.readfp(open(cfgfile))
return cfg return cfg