Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Commit

Permalink
use format()
Browse files Browse the repository at this point in the history
  • Loading branch information
ruleant committed Mar 13, 2016
1 parent 8e4734a commit 7f86280
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildtimetrend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,11 @@ def process_argv(self, argv):
if argv is None:
return None

usage_string = '%s -h --log=<log_level> --build=<buildID>' \
usage_string = '{0!s} -h --log=<log_level> --build=<buildID>' \
' --job=<jobID> --branch=<branchname> --repo=<repo_slug>' \
' --ci=<ci_platform> --result=<build_result>' \
' --mode=<storage_mode>' % \
argv[0]
' --mode=<storage_mode>'
usage_string = usage_string.format(argv[0])

options = {
"--build": "build",
Expand Down

0 comments on commit 7f86280

Please sign in to comment.