IOT - remove outdated comment

This commit is contained in:
Bert Blommers 2021-12-23 11:21:13 -01:00 committed by GitHub
parent c301f8822c
commit b0a59fe05e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)