diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2017-01-16 06:24:07 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2017-01-16 06:24:07 -0500 |
commit | 727ae797fb043c858fc7f0ee0da71822b2a82bb8 (patch) | |
tree | 516d7e022a7f5a93d394ca392321b39f87e1682b /coverage/cmdline.py | |
parent | 62e03759315260aa26192454bcaa65075ff41cb2 (diff) | |
download | python-coveragepy-git-727ae797fb043c858fc7f0ee0da71822b2a82bb8.tar.gz |
Expunge the last %()s formatting
Diffstat (limited to 'coverage/cmdline.py')
-rw-r--r-- | coverage/cmdline.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/cmdline.py b/coverage/cmdline.py index 0b121779..9d9d6536 100644 --- a/coverage/cmdline.py +++ b/coverage/cmdline.py @@ -248,7 +248,7 @@ class CmdOptionParser(CoverageOptionParser): program_name = super(CmdOptionParser, self).get_prog_name() # Include the sub-command for this parser as part of the command. - return "%(command)s %(subcommand)s" % {'command': program_name, 'subcommand': self.cmd} + return "{command} {subcommand}".format(command=program_name, subcommand=self.cmd) GLOBAL_ARGS = [ |