composer-cli: Remove unneeded % from API WARNING message

Related: rhbz#1779301
This commit is contained in:
Brian C. Lane 2019-12-12 09:31:42 -08:00
parent 554f109122
commit 15fbef8f97

View File

@ -70,7 +70,7 @@ def main(opts):
# The server may not support this, but the command will handle the failure and output the server's error # The server may not support this, but the command will handle the failure and output the server's error
latest_version = sorted(command_map.keys())[-1] latest_version = sorted(command_map.keys())[-1]
opts.api_version = latest_version opts.api_version = latest_version
print(f"WARNING: %{backend} backend server supports newer API v{opts.api_version}, falling back to {latest_version}") print(f"WARNING: {backend} backend server supports newer API v{opts.api_version}, falling back to {latest_version}")
# Making sure opts.args is not empty (thus, has a command and subcommand) # Making sure opts.args is not empty (thus, has a command and subcommand)
# is already handled in src/bin/composer-cli. # is already handled in src/bin/composer-cli.