summaryrefslogtreecommitdiff
path: root/tasks.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2017-10-10 14:41:59 -0700
committerJeff Forcier <jeff@bitprophet.org>2017-10-10 14:41:59 -0700
commiteea4f62f0fb5a14eece79565145fb5589008c7e1 (patch)
treeed4c2f0f166e424004e9dd52a2251f57e4890b54 /tasks.py
parent2f4766f7ef6442004fc9de72504de45bb577847b (diff)
downloadparamiko-eea4f62f0fb5a14eece79565145fb5589008c7e1.tar.gz
Use new(er)-style string formatting, {} instead of {0}
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks.py b/tasks.py
index 4ddeeee3..a45b4efc 100644
--- a/tasks.py
+++ b/tasks.py
@@ -21,7 +21,7 @@ def test(ctx, coverage=False, flags=""):
env = dict(os.environ)
if 'SSH_AUTH_SOCK' in env:
del env['SSH_AUTH_SOCK']
- cmd = "{0} test.py {1}".format(runner, flags)
+ cmd = "{} test.py {}".format(runner, flags)
ctx.run(cmd, pty=True, env=env, replace_env=True)