loam/manager.py
def read_config_(self, cfile):
        """Read a config file and set config values accordingly.

        Returns:
            dict: content of config file.
        """
        if not cfile.exists():
            return {}
        try:
            conf_dict = toml.load(str(cfile))
        except toml.TomlDecodeError:
            return None
        self.update_(conf_dict)
        return conf_dict
def read_config_(self, cfile):
        if not cfile.exists():
            return {}
        try:
            conf_dict = toml.load(str(cfile))
        except toml.TomlDecodeError:
            return None
        self.update_(conf_dict)
        return conf_dict
def read_config_ ( self , cfile ) : if not cfile . exists ( ) : return { } try : conf_dict = toml . load ( str ( cfile ) ) except toml . TomlDecodeError : return None self . update_ ( conf_dict ) return conf_dict
Read a config file and set config values accordingly.

        Returns:
            dict: content of config file.
Read a config file and set config values accordingly .