def _read_config(self): """ Read and parse the HAProxy configuration. """ return config_from_string(self._read_config_string())
def _read_config(self): """ Read and parse the HAProxy configuration. """ data = open(self.config_path).read() return config_from_string(data)