diff -r 79ff784cd8af -r 7f6b5f023884 hooks/syncsession.py --- a/hooks/syncsession.py Fri Sep 11 18:01:36 2015 +0200 +++ b/hooks/syncsession.py Fri Sep 11 18:05:38 2015 +0200 @@ -18,7 +18,7 @@ """Core hooks: synchronize living session on persistent data changes""" __docformat__ = "restructuredtext en" -_ = unicode +from cubicweb import _ from cubicweb import UnknownProperty, BadConnectionId, validation_error from cubicweb.predicates import is_instance