Change whitespaces back to the way they were and fix typos

This commit is contained in:
Stephan Huber 2020-01-23 15:46:50 +01:00
parent 84210f6011
commit 20020c5170
2 changed files with 262 additions and 262 deletions

View File

@ -97,7 +97,7 @@ class FakeThingGroup(BaseModel):
break
# if parent arn found (should always be found)
if parent_thing_group_structure:
# copy parent"s rootToParentThingGroups
# copy parent's rootToParentThingGroups
if "rootToParentThingGroups" in parent_thing_group_structure.metadata:
self.metadata["rootToParentThingGroups"].extend(
parent_thing_group_structure.metadata["rootToParentThingGroups"]
@ -424,7 +424,7 @@ class IoTBackend(BaseBackend):
def list_thing_types(self, thing_type_name=None):
if thing_type_name:
# It"s weird but thing_type_name is filtered by forward match, not complete match
# It's weird but thing_type_name is filtered by forward match, not complete match
return [
_
for _ in self.thing_types.values()