diff options
author | Christian Berendt <berendt@b1-systems.de> | 2014-05-20 16:43:02 +0200 |
---|---|---|
committer | Christian Berendt <berendt@b1-systems.de> | 2014-05-20 18:42:22 +0200 |
commit | 8b4bf0f3e990ed70a5235351e0fa1f1678cea2d5 (patch) | |
tree | acfd7285adf49afcf7b31aa5b6e773aadf3e5a44 | |
parent | 78c2bc95c1bfd3f8663f7fcade4bdf00deeab60b (diff) | |
download | oslo-config-8b4bf0f3e990ed70a5235351e0fa1f1678cea2d5.tar.gz |
log: string format arguments changed to function parameters
There are files containing string format arguments inside
logging messages. Using logging function parameters should
be preferred.
Change-Id: I22aebd928a96258c08fcaa363aed0f739825fc7e
Partial-Bug: #1321274
-rw-r--r-- | oslo/config/cfg.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/oslo/config/cfg.py b/oslo/config/cfg.py index 7e2723a..9c7010d 100644 --- a/oslo/config/cfg.py +++ b/oslo/config/cfg.py @@ -2233,12 +2233,12 @@ class ConfigOpts(collections.Mapping): self._check_required_opts(namespace) except SystemExit as exc: - LOG.warn("Caught SystemExit while reloading configure files \ - with exit code: %d" % exc.code) + LOG.warn("Caught SystemExit while reloading configure files " + "with exit code: %d", exc.code) return False except Error as err: - LOG.warn("Caught Error while reloading configure files: %s" - % err.__str__()) + LOG.warn("Caught Error while reloading configure files: %s", + err) return False else: self._namespace = namespace |