From 4e2fe76820025a75ce6282047e3ae0663ea45ccc Mon Sep 17 00:00:00 2001 From: Bryan Alexander Date: Tue, 18 Feb 2020 13:51:35 -0600 Subject: [PATCH] removes duplicate declaration of list_tags_for_resource --- moto/events/models.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/moto/events/models.py b/moto/events/models.py index c400677df..6787f51ab 100644 --- a/moto/events/models.py +++ b/moto/events/models.py @@ -374,14 +374,6 @@ class EventsBackend(BaseBackend): "ResourceNotFoundException", "An entity that you specified does not exist." ) - def list_tags_for_resource(self, arn): - name = arn.split("/")[-1] - if name in self.rules: - return self.tagger.list_tags_for_resource(self.rules[name].arn) - raise JsonRESTError( - "ResourceNotFoundException", "An entity that you specified does not exist." - ) - def tag_resource(self, arn, tags): name = arn.split("/")[-1] if name in self.rules: