cubicweb/req.py
branch3.24
changeset 11824 d7ecf6dab085
parent 11799 1bdfe9d4ab83
child 11825 52acf0dbf4cd
equal deleted inserted replaced
11823:4f43e64603ef 11824:d7ecf6dab085
    72         self.encoding = encoding
    72         self.encoding = encoding
    73         # cache result of execution for (rql expr / eids),
    73         # cache result of execution for (rql expr / eids),
    74         # should be emptied on commit/rollback of the server session / web
    74         # should be emptied on commit/rollback of the server session / web
    75         # connection
    75         # connection
    76         self.user = None
    76         self.user = None
       
    77         self.lang = None
    77         self.local_perm_cache = {}
    78         self.local_perm_cache = {}
    78         self._ = text_type
    79         self._ = text_type
    79 
    80 
    80     def _set_user(self, orig_user):
    81     def _set_user(self, orig_user):
    81         """set the user for this req_session_base
    82         """set the user for this req_session_base