From 121b81f1887031b835f920a116b4c81e2b2578f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Starck?= Date: Tue, 12 May 2015 11:42:56 -0400 Subject: [PATCH] Fix "fmt % thing" : fmt missing the %s With this the Livestatus was simply not usable at all within a scheduler :| Seen while investigating on https://github.com/naparuba/shinken/pull/1623 --- module/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/module.py b/module/module.py index aafa539..625d25f 100644 --- a/module/module.py +++ b/module/module.py @@ -184,7 +184,7 @@ def init(self): # will be in another process, so we will be able to hack objects # if need) def hook_pre_scheduler_mod_start(self, sched): - logger.info("[Livestatus Broker] pre_scheduler_mod_start::" % str(sched.__dict__)) + logger.info("[Livestatus Broker] pre_scheduler_mod_start: %s", sched.__dict__) self.rg.load_from_scheduler(sched) # In a scheduler we will have a filter of what we really want as a brok