diff options
author | Lucas Hoffmann <l-m-h@web.de> | 2016-12-11 13:27:15 +0100 |
---|---|---|
committer | Lucas Hoffmann <l-m-h@web.de> | 2016-12-14 08:31:40 +0100 |
commit | 00c7d41e80b24aa7a146440ce7bd996df4358a64 (patch) | |
tree | a6942388866dd0be749e050f018d7703c8ca4b27 /alot/commands/thread.py | |
parent | 571422a079ce235eba738ccfeac1ca2f043ece23 (diff) |
Use native logging string interpolation
This will also make the string interpolation lazy evaluated.
Diffstat (limited to 'alot/commands/thread.py')
-rw-r--r-- | alot/commands/thread.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py index bf37b842..00ac3f45 100644 --- a/alot/commands/thread.py +++ b/alot/commands/thread.py @@ -82,8 +82,7 @@ def determine_sender(mail, action='reply'): regex = re.compile('^' + alias + '$', flags=re.IGNORECASE) for seen_name, seen_address in candidate_addresses: if regex.match(seen_address): - logging.debug("match!: '%s' '%s'" % (seen_address, - alias)) + logging.debug("match!: '%s' '%s'", seen_address, alias) if settings.get(action + '_force_realname'): realname = account.realname else: |