Fix log message string formatting
Use logging message format with args, instead of direct `%` or `str.format`. Resolve #855.
This commit is contained in:
parent
1e765fcab7
commit
f984a918b9
14 changed files with 140 additions and 151 deletions
|
|
@ -47,4 +47,4 @@ class Install(cdist.config.Config):
|
|||
yield cdist_object
|
||||
else:
|
||||
self.log.debug("Running in install mode, ignoring non install"
|
||||
"object: {0}".format(cdist_object))
|
||||
"object: %s", cdist_object)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue