def load_configs(self, conf_file):
        """
        Assumes that the config file does not have any sections, so throw it all in global
        """
        with open(conf_file) as stream:
            lines = itertools.chain(("[global]",), stream)
            self._config.read_file(lines)
        return self._config['global']
def load_configs ( self , conf_file ) : with open ( conf_file ) as stream : lines = itertools . chain ( ( "[global]" , ) , stream ) self . _config . read_file ( lines ) return self . _config [ 'global' ]
Assumes that the config file does not have any sections, so throw it all in global