server/hook.py
changeset 9468 39b7a91a3f4c
parent 9340 b1e933b0e850
child 9469 032825bbacab
equal deleted inserted replaced
9467:ad66d7b3fd48 9468:39b7a91a3f4c
     1 # copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     1 # copyright 2003-2013 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
   255 from itertools import chain
   255 from itertools import chain
   256 
   256 
   257 from logilab.common.decorators import classproperty, cached
   257 from logilab.common.decorators import classproperty, cached
   258 from logilab.common.deprecation import deprecated, class_renamed
   258 from logilab.common.deprecation import deprecated, class_renamed
   259 from logilab.common.logging_ext import set_log_methods
   259 from logilab.common.logging_ext import set_log_methods
   260 from logilab.common.registry import (Predicate, NotPredicate, OrPredicate,
   260 from logilab.common.registry import (NotPredicate, OrPredicate,
   261                                      objectify_predicate, yes)
   261                                      objectify_predicate)
   262 
   262 
   263 from cubicweb import RegistryNotFound, server
   263 from cubicweb import RegistryNotFound, server
   264 from cubicweb.cwvreg import CWRegistry, CWRegistryStore
   264 from cubicweb.cwvreg import CWRegistry, CWRegistryStore
   265 from cubicweb.predicates import ExpectedValuePredicate, is_instance
   265 from cubicweb.predicates import ExpectedValuePredicate, is_instance
   266 from cubicweb.appobject import AppObject
   266 from cubicweb.appobject import AppObject