summaryrefslogtreecommitdiff
path: root/alot/helper.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/helper.py
parente2de9282a33a8906077a3d223d025367071bce6b (diff)
Use logging's native string interpolation
Diffstat (limited to 'alot/helper.py')
-rw-r--r--alot/helper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/helper.py b/alot/helper.py
index de57b564..1d114187 100644
--- a/alot/helper.py
+++ b/alot/helper.py
@@ -359,8 +359,8 @@ def call_cmd_async(cmdlist, stdin=None, env=None):
environment = os.environ
if env is not None:
environment.update(env)
- logging.debug('ENV = %s' % environment)
- logging.debug('CMD = %s' % cmdlist)
+ logging.debug('ENV = %s', environment)
+ logging.debug('CMD = %s', cmdlist)
proc = reactor.spawnProcess(_EverythingGetter(d), executable=cmdlist[0],
env=environment,
args=cmdlist)