trivial: fix not-a-mapping pylint warning (#52732)
This commit is contained in:
parent
7a9657c293
commit
cc1f7e13a0
|
@ -32,7 +32,6 @@ disable=
|
||||||
no-member,
|
no-member,
|
||||||
no-self-use,
|
no-self-use,
|
||||||
non-parent-init-called,
|
non-parent-init-called,
|
||||||
not-a-mapping,
|
|
||||||
not-callable,
|
not-callable,
|
||||||
possibly-unused-variable,
|
possibly-unused-variable,
|
||||||
protected-access,
|
protected-access,
|
||||||
|
|
|
@ -266,7 +266,7 @@ class NamedWsCall(XmlStorableObject):
|
||||||
cache=True,
|
cache=True,
|
||||||
notify_on_errors=self.notify_on_errors,
|
notify_on_errors=self.notify_on_errors,
|
||||||
record_on_errors=self.record_on_errors,
|
record_on_errors=self.record_on_errors,
|
||||||
**self.request,
|
**(self.request or {}),
|
||||||
)[2]
|
)[2]
|
||||||
return json_loads(data)
|
return json_loads(data)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue