mirror of https://github.com/cowrie/cowrie.git
switch to configparser
This commit is contained in:
parent
3fd7116d1e
commit
45cbc2b59e
|
@ -8,7 +8,7 @@ This module contains ...
|
|||
import ConfigParser
|
||||
|
||||
def readConfigFile(cfgfile):
|
||||
cfg = ConfigParser.SafeConfigParser()
|
||||
cfg = ConfigParser.ConfigParser()
|
||||
cfg.readfp(open(cfgfile))
|
||||
return cfg
|
||||
|
||||
|
|
Loading…
Reference in New Issue