File Parsing

File Parsing

class oslo_config.iniparser.BaseParser
class oslo_config.cfg.ConfigParser(filename, sections)

Parses a single config file, populating ‘sections’ to look like:

{‘DEFAULT’: {‘key’: [value, …], …},
…}

Also populates self._normalized which looks the same but with normalized section names.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.