cubicweb/pyramid/bwcompat.py
branch3.24
changeset 11811 f09efeead7f9
parent 11631 faf279e33298
child 11812 4e0829ade86f
equal deleted inserted replaced
11810:2e03bb4372b2 11811:f09efeead7f9
   100                 # content = self.appli.ajax_error_handler(req, ex)
   100                 # content = self.appli.ajax_error_handler(req, ex)
   101                 raise
   101                 raise
   102 
   102 
   103             if content is not None:
   103             if content is not None:
   104                 request.response.body = content
   104                 request.response.body = content
   105 
       
   106 
   105 
   107         except LogOut as ex:
   106         except LogOut as ex:
   108             # The actual 'logging out' logic should be in separated function
   107             # The actual 'logging out' logic should be in separated function
   109             # that is accessible by the pyramid views
   108             # that is accessible by the pyramid views
   110             headers = security.forget(request)
   109             headers = security.forget(request)