equal
deleted
inserted
replaced
|
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 """Backward compatibility layer for CubicWeb to run as a Pyramid application.""" |
|
22 |
1 import sys |
23 import sys |
2 import logging |
24 import logging |
3 |
25 |
4 from pyramid import security |
26 from pyramid import security |
5 from pyramid import tweens |
27 from pyramid import tweens |