cubicweb/hooks/integrity.py
changeset 11767 432f87a63057
parent 11765 9cb215e833b0
child 12567 26744ad37953
equal deleted inserted replaced
11766:d8de1ac21f36 11767:432f87a63057
     1 # copyright 2003-2014 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     1 # copyright 2003-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
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    18 """Core hooks: check for data integrity according to the instance'schema
    18 """Core hooks: check for data integrity according to the instance'schema
    19 validity
    19 validity
    20 """
    20 """
    21 
    21 
    22 __docformat__ = "restructuredtext en"
       
    23 from cubicweb import _
    22 from cubicweb import _
    24 
    23 
    25 from threading import Lock
    24 from threading import Lock
    26 
    25 
    27 from six import text_type
    26 from six import text_type