summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oslo/config/cfg.py8
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