def get_config()

in cfgmgr/abstract.py [0:0]


    def get_config(self):
        """Parse the configuration and return it as a dictionary.

        Returns:
            dict -- Dictionary containing the unencrypted configuration as parsed
              from the file
        """

        config = self._parse()
        for component in self.requires_htpasswd:
            section = config
            for i in component:
                section = section[i]
            section["htpasswd"] = self._create_htpasswd_entry(
                section["username"], section["password"]
            )
        return config