summaryrefslogtreecommitdiff
path: root/alot/settings
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2016-07-14 13:30:52 +0200
committerLucas Hoffmann <l-m-h@web.de>2016-12-09 11:26:15 +0100
commitd89bbe11537abfceb3d0c7b62b9325fceaf51e32 (patch)
tree7bb9697a7a2aac29da8f529cdca44ee050023dc2 /alot/settings
parente2de9282a33a8906077a3d223d025367071bce6b (diff)
Use logging's native string interpolation
Diffstat (limited to 'alot/settings')
-rw-r--r--alot/settings/manager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/settings/manager.py b/alot/settings/manager.py
index 1d6ad913..bd810514 100644
--- a/alot/settings/manager.py
+++ b/alot/settings/manager.py
@@ -70,7 +70,7 @@ class SettingsManager(object):
try:
self.hooks = imp.load_source('hooks', hooks_path)
except:
- logging.debug('unable to load hooks file:%s' % hooks_path)
+ logging.debug('unable to load hooks file:%s', hooks_path)
if 'bindings' in newconfig:
newbindings = newconfig['bindings']
if isinstance(newbindings, Section):
@@ -123,7 +123,7 @@ class SettingsManager(object):
# create abook for this account
abook = accsec['abook']
- logging.debug('abook defined: %s' % abook)
+ logging.debug('abook defined: %s', abook)
if abook['type'] == 'shellcommand':
cmd = abook['command']
regexp = abook['regexp']