Removed f string so python 2 can work correctly

This commit is contained in:
Chagui- 2020-04-30 20:54:51 -04:00
parent 95c459a86d
commit 5e4451b0d5

View File

@ -849,7 +849,9 @@ class IoTBackend(BaseBackend):
] ]
if len(child_groups) > 0: if len(child_groups) > 0:
raise InvalidRequestException( raise InvalidRequestException(
f" Cannot delete thing group : {thing_group_name} when there are still child groups attached to it" " Cannot delete thing group : "
+ thing_group_name
+ " when there are still child groups attached to it"
) )
thing_group = self.describe_thing_group(thing_group_name) thing_group = self.describe_thing_group(thing_group_name)
del self.thing_groups[thing_group.arn] del self.thing_groups[thing_group.arn]