From 758920da5021fa479f6b90e3489deb930478e35d Mon Sep 17 00:00:00 2001 From: Bert Blommers Date: Thu, 31 Mar 2022 09:49:04 +0000 Subject: [PATCH] Linting (#4993) --- moto/ec2/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/ec2/models.py b/moto/ec2/models.py index 2806a2198..025b5ccae 100644 --- a/moto/ec2/models.py +++ b/moto/ec2/models.py @@ -7180,7 +7180,7 @@ class NetworkAclBackend(object): ) subnet_id = None - for key, value in default_acl.associations.items(): + for key in default_acl.associations: if key == association_id: subnet_id = default_acl.associations[key].subnet_id del default_acl.associations[key]