trivial: fix not-a-mapping pylint warning (#52732)

This commit is contained in:
Frédéric Péters 2021-04-03 09:53:12 +02:00
parent 7a9657c293
commit cc1f7e13a0
2 changed files with 1 additions and 2 deletions

View File

@ -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,

View File

@ -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)