Example #1
0
 def _read_config(self):
     """ Read and parse the HAProxy configuration.
     """
     return config_from_string(self._read_config_string())
Example #2
0
 def _read_config(self):
     """ Read and parse the HAProxy configuration.
     """
     return config_from_string(self._read_config_string())
Example #3
0
File: server.py Project: brtsz/zato
 def _read_config(self):
     """ Read and parse the HAProxy configuration.
     """
     data = open(self.config_path).read()
     return config_from_string(data)