Skip to content

Commit bf9d56f

Browse files
committed
remove unused ignore
1 parent cb795bb commit bf9d56f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • aws_sra_examples/solutions
    • account/account_alternate_contacts/lambda/src
    • s3/s3_block_account_public_access/lambda/src

aws_sra_examples/solutions/account/account_alternate_contacts/lambda/src/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def process_accounts(event: Union[CloudFormationCustomResourceEvent, dict], para
330330
if is_account_with_exclude_tags(account, params):
331331
continue
332332

333-
if event.get("local_testing") == "true" or event.get("ResourceProperties", {}).get("local_testing") == "true": # type: ignore
333+
if event.get("local_testing") == "true" or event.get("ResourceProperties", {}).get("local_testing") == "true":
334334
local_testing(account, params)
335335
else:
336336
sns_message = {"Action": params["action"], "AccountId": account["Id"]}

aws_sra_examples/solutions/s3/s3_block_account_public_access/lambda/src/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def process_accounts(event: Union[CloudFormationCustomResourceEvent, dict], para
298298
if is_account_with_exclude_tags(account, params):
299299
continue
300300

301-
if event.get("local_testing") == "true" or event.get("ResourceProperties", {}).get("local_testing") == "true": # type: ignore
301+
if event.get("local_testing") == "true" or event.get("ResourceProperties", {}).get("local_testing") == "true":
302302
local_testing(account, params)
303303
else:
304304
sns_message = {"Action": params["action"], "AccountId": account["Id"]}

0 commit comments

Comments
 (0)