Skip to content

Commit

Permalink
Fix "fmt % thing" : fmt missing the %s
Browse files Browse the repository at this point in the history
With this the Livestatus was simply not usable at all within a scheduler :|

Seen while investigating on shinken-solutions/shinken#1623
  • Loading branch information
gst committed May 12, 2015
1 parent 7f7e307 commit 121b81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 121b81f

Please sign in to comment.