Fix remaining flake8 issues
Disabling W504 and W605 for now as there are too many instances.
This commit is contained in:
parent
18173a5951
commit
84fb52d0a2
10 changed files with 28 additions and 35 deletions
|
|
@ -163,7 +163,7 @@ class IoTDataPlaneBackend(BaseBackend):
|
|||
raise InvalidRequestException('State contains an invalid node')
|
||||
|
||||
if 'version' in payload and thing.thing_shadow.version != payload['version']:
|
||||
raise ConflictException('Version conflict')
|
||||
raise ConflictException('Version conflict')
|
||||
new_shadow = FakeShadow.create_from_previous_version(thing.thing_shadow, payload)
|
||||
thing.thing_shadow = new_shadow
|
||||
return thing.thing_shadow
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue