Removed f string so python 2 can work correctly
This commit is contained in:
parent
95c459a86d
commit
5e4451b0d5
@ -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]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user