def _write_state(self, logger=logging.getLogger(__name__)): ''' Write state (ConfigParser) to Consul ''' logger.log(logging.INFO, 'Writing state to config') write_state_config(self.config, self.settings, logger=logger)
def _write_state(self, logger=logging.getLogger(__name__)): """ Write state (ConfigParser) to Consul """ logger.log(logging.INFO, "Writing state to config") write_state_config(self.config, self.settings, logger=logger)