From b0a59fe05e18f57d6c843f9931836ed2c147b19b Mon Sep 17 00:00:00 2001 From: Bert Blommers Date: Thu, 23 Dec 2021 11:21:13 -0100 Subject: [PATCH] IOT - remove outdated comment --- moto/iot/models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/moto/iot/models.py b/moto/iot/models.py index 287c71d8c..65fcccf95 100644 --- a/moto/iot/models.py +++ b/moto/iot/models.py @@ -695,7 +695,6 @@ class IoTBackend(BaseBackend): # can raise ResourceNotFoundError thing = self.describe_thing(thing_name) - # detach all principals for k in list(self.principal_things.keys()): if k[1] == thing_name: raise ThingStillAttached(thing_name)