changeset 32c2df0914f6 in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset&node=32c2df0914f6
description:
        Remove _request key from cache's context

        issue10376
        review351901002
diffstat:

 trytond/cache.py |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r b0a5d11ac400 -r 32c2df0914f6 trytond/cache.py
--- a/trytond/cache.py  Wed May 05 23:12:49 2021 +0200
+++ b/trytond/cache.py  Wed May 05 23:14:54 2021 +0200
@@ -85,6 +85,7 @@
         if self.context:
             context = Transaction().context.copy()
             context.pop('client', None)
+            context.pop('_request', None)
             return (key, Transaction().user, freeze(context))
         return key
 

Reply via email to