cubicweb/hooks/syncsources.py
changeset 11767 432f87a63057
parent 11763 39df042f4ab4
child 11773 054a947b5415
equal deleted inserted replaced
11766:d8de1ac21f36 11767:432f87a63057
     1 # copyright 2010-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     1 # copyright 2010-2016 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
    24 from logilab.common.decorators import clear_cache
    24 from logilab.common.decorators import clear_cache
    25 
    25 
    26 from cubicweb import validation_error
    26 from cubicweb import validation_error
    27 from cubicweb.predicates import is_instance
    27 from cubicweb.predicates import is_instance
    28 from cubicweb.server import SOURCE_TYPES, hook
    28 from cubicweb.server import SOURCE_TYPES, hook
       
    29 
    29 
    30 
    30 class SourceHook(hook.Hook):
    31 class SourceHook(hook.Hook):
    31     __abstract__ = True
    32     __abstract__ = True
    32     category = 'cw.sources'
    33     category = 'cw.sources'
    33 
    34