From 49ce792f501496de599bcf5dd67de704e61464dc Mon Sep 17 00:00:00 2001 From: nrosner Date: Mon, 8 Nov 2021 18:26:05 -0500 Subject: [PATCH] Replace generic Exception with NotImplementedError --- aws-sam-cli-master/samcli/lib/warnings/sam_cli_warning.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws-sam-cli-master/samcli/lib/warnings/sam_cli_warning.py b/aws-sam-cli-master/samcli/lib/warnings/sam_cli_warning.py index 506529e..428c03f 100644 --- a/aws-sam-cli-master/samcli/lib/warnings/sam_cli_warning.py +++ b/aws-sam-cli-master/samcli/lib/warnings/sam_cli_warning.py @@ -13,7 +13,7 @@ class TemplateWarning: """ def check(self, template_dict): # pylint: disable=no-self-use - raise Exception("NotImplementedException") + raise NotImplementedError def _get_deployment_preferences_status(function):