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

        issue10376
        review351901002
        (grafted from 32c2df0914f6702aa98adb0a6acbd744d93ec057)
diffstat:

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

diffs (11 lines):

diff -r bfcc5566fb1e -r 4a127308095a 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
@@ -37,6 +37,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