cubicweb/pyramid/session.py
changeset 11967 83739be20fab
parent 11896 327585fd7670
child 11993 07af2c2c264b
equal deleted inserted replaced
11966:fe995d56c949 11967:83739be20fab
       
     1 # copyright 2017 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
       
     2 # copyright 2014-2016 UNLISH S.A.S. (Montpellier, FRANCE), all rights reserved.
       
     3 #
       
     4 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
       
     5 #
       
     6 # This file is part of CubicWeb.
       
     7 #
       
     8 # CubicWeb is free software: you can redistribute it and/or modify it under the
       
     9 # terms of the GNU Lesser General Public License as published by the Free
       
    10 # Software Foundation, either version 2.1 of the License, or (at your option)
       
    11 # any later version.
       
    12 #
       
    13 # CubicWeb is distributed in the hope that it will be useful, but WITHOUT
       
    14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
       
    15 # FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
       
    16 # details.
       
    17 #
       
    18 # You should have received a copy of the GNU Lesser General Public License along
       
    19 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
       
    20 
       
    21 """Pyramid session factories for CubicWeb."""
       
    22 
     1 import warnings
    23 import warnings
     2 import logging
    24 import logging
     3 from contextlib import contextmanager
    25 from contextlib import contextmanager
     4 
    26 
     5 from pyramid.compat import pickle
    27 from pyramid.compat import pickle