diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-10-10 14:41:59 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-10-10 14:41:59 -0700 |
commit | eea4f62f0fb5a14eece79565145fb5589008c7e1 (patch) | |
tree | ed4c2f0f166e424004e9dd52a2251f57e4890b54 /tasks.py | |
parent | 2f4766f7ef6442004fc9de72504de45bb577847b (diff) |
Use new(er)-style string formatting, {} instead of {0}
Diffstat (limited to 'tasks.py')
-rw-r--r-- | tasks.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |