From 72872e7a24136c7f993dddfbb62534cb121f06ac Mon Sep 17 00:00:00 2001 From: Sriram Madapusi Vasudevan Date: Wed, 25 Sep 2019 12:08:28 -0700 Subject: [PATCH] fix: py2 warning message to be deprecated instead --- samcli/cli/command.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/samcli/cli/command.py b/samcli/cli/command.py index b09f0f5071..e7fca789ce 100644 --- a/samcli/cli/command.py +++ b/samcli/cli/command.py @@ -25,9 +25,9 @@ ] DEPRECATION_NOTICE = ( - "Warning : AWS SAM CLI will no longer support " - "installations on Python 2.7 starting on October 1st, 2019." - " Install AWS SAM CLI via https://docs.aws.amazon.com/serverless-application-model/" + "Deprecated : AWS SAM CLI no longer supports " + "installations on Python 2.7. " + "Install AWS SAM CLI via https://docs.aws.amazon.com/serverless-application-model/" "latest/developerguide/serverless-sam-cli-install.html for continued support with new versions. \n" ) @@ -70,7 +70,7 @@ def __init__(self, cmd_packages=None, *args, **kwargs): self._commands = BaseCommand._set_commands(cmd_packages) if sys.version_info.major == 2: - click.secho(DEPRECATION_NOTICE, fg="yellow", err=True) + click.secho(DEPRECATION_NOTICE, fg="red", err=True) @staticmethod def _set_commands(package_names):