summaryrefslogtreecommitdiff
path: root/alot/account.py
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/account.py
parente2de9282a33a8906077a3d223d025367071bce6b (diff)
Use logging's native string interpolation
Diffstat (limited to 'alot/account.py')
-rw-r--r--alot/account.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/account.py b/alot/account.py
index 017fa31e..9e83b54c 100644
--- a/alot/account.py
+++ b/alot/account.py
@@ -119,7 +119,7 @@ class Account(object):
message_id = mbx.add(msg)
mbx.flush()
mbx.unlock()
- logging.debug('got mailbox msg id : %s' % message_id)
+ logging.debug('got mailbox msg id : %s', message_id)
except Exception as e:
raise StoreMailError(e)
@@ -132,7 +132,7 @@ class Account(object):
message_id + '*')
if plist:
path = os.path.join(mbx._path, 'new', plist[0])
- logging.debug('path of saved msg: %s' % path)
+ logging.debug('path of saved msg: %s', path)
return path
def store_sent_mail(self, mail):