hooks/syncsession.py
changeset 10666 7f6b5f023884
parent 10663 54b8a1f249fb
child 10828 0e5a9a03a79d
equal deleted inserted replaced
10665:79ff784cd8af 10666:7f6b5f023884
    16 # You should have received a copy of the GNU Lesser General Public License along
    16 # You should have received a copy of the GNU Lesser General Public License along
    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: synchronize living session on persistent data changes"""
    18 """Core hooks: synchronize living session on persistent data changes"""
    19 
    19 
    20 __docformat__ = "restructuredtext en"
    20 __docformat__ = "restructuredtext en"
    21 _ = unicode
    21 from cubicweb import _
    22 
    22 
    23 from cubicweb import UnknownProperty, BadConnectionId, validation_error
    23 from cubicweb import UnknownProperty, BadConnectionId, validation_error
    24 from cubicweb.predicates import is_instance
    24 from cubicweb.predicates import is_instance
    25 from cubicweb.server import hook
    25 from cubicweb.server import hook
    26 
    26