(self, cfpath, ignore_keys=None)
Read config file
Read config file
Read config file
def _conf_file_read(self, cfpath, ignore_keys=None):
        """
        Read config file
        """
        Msg().out('Info: using config file: ', cfpath)
        cfnparser = ConfigParser()
        cfnparser.read(cfpath)
        for (key, val) in cfnparser.items('DEFAULT'):
            if ignore_keys and key in ignore_keys:
                continue
            if val is not None:
                Config.conf[key] = val
def _conf_file_read ( self , cfpath , ignore_keys = None ) : Msg ( ) . out ( 'Info: using config file: ' , cfpath ) cfnparser = ConfigParser ( ) cfnparser . read ( cfpath ) for ( key , val ) in cfnparser . items ( 'DEFAULT' ) : if ignore_keys and key in ignore_keys : continue if val is not None : Config . conf [ key ] = val