Removed f string so python 2 can work correctly
This commit is contained in:
parent
95c459a86d
commit
5e4451b0d5
1 changed files with 3 additions and 1 deletions
|
|
@ -849,7 +849,9 @@ class IoTBackend(BaseBackend):
|
|||
]
|
||||
if len(child_groups) > 0:
|
||||
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)
|
||||
del self.thing_groups[thing_group.arn]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue