equal
deleted
inserted
replaced
1 # copyright 2003-2014 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
1 # copyright 2003-2015 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
3 # |
3 # |
4 # This file is part of CubicWeb. |
4 # This file is part of CubicWeb. |
5 # |
5 # |
6 # CubicWeb is free software: you can redistribute it and/or modify it under the |
6 # CubicWeb is free software: you can redistribute it and/or modify it under the |
19 __docformat__ = "restructuredtext en" |
19 __docformat__ = "restructuredtext en" |
20 |
20 |
21 from time import time |
21 from time import time |
22 from logging import getLogger |
22 from logging import getLogger |
23 |
23 |
24 from logilab.common.registry import RegistrableObject |
24 from logilab.common.registry import RegistrableObject, yes |
25 |
25 |
26 from cubicweb import RepositoryError, Unauthorized, BadConnectionId, set_log_methods |
26 from cubicweb import RepositoryError, Unauthorized, set_log_methods |
27 from cubicweb.predicates import yes |
|
28 from cubicweb.web import InvalidSession |
27 from cubicweb.web import InvalidSession |
29 |
28 |
30 from cubicweb.web.views import authentication |
29 from cubicweb.web.views import authentication |
31 |
30 |
32 |
31 |