From 15fbef8f97aa163d24495c53347c85fccdd2904a Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Thu, 12 Dec 2019 09:31:42 -0800 Subject: [PATCH] composer-cli: Remove unneeded % from API WARNING message Related: rhbz#1779301 --- src/composer/cli/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composer/cli/__init__.py b/src/composer/cli/__init__.py index 2b9a9991..123962b7 100644 --- a/src/composer/cli/__init__.py +++ b/src/composer/cli/__init__.py @@ -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 latest_version = sorted(command_map.keys())[-1] 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) # is already handled in src/bin/composer-cli.