diff -r 2ee0ef069fa7 -r 2a3c1b787688 hooks/syncsources.py --- a/hooks/syncsources.py Thu Feb 02 14:33:30 2012 +0100 +++ b/hooks/syncsources.py Mon Jan 23 13:25:02 2012 +0100 @@ -23,7 +23,7 @@ from yams.schema import role_name from cubicweb import ValidationError -from cubicweb.selectors import is_instance +from cubicweb.predicates import is_instance from cubicweb.server import SOURCE_TYPES, hook class SourceHook(hook.Hook):