Fix deprecated import
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 19 Oct 2016 00:06:56 +0200
changeset 1851 5ec59910fe0c
parent 1850 c6c1802ebba9
child 1852 5e1e74aab8ec
Fix deprecated import
entities/diag.py
--- a/entities/diag.py	Tue Oct 18 16:18:56 2016 +0200
+++ b/entities/diag.py	Wed Oct 19 00:06:56 2016 +0200
@@ -19,7 +19,7 @@
 
 from cubicweb import _
 from cubicweb.view import EntityAdapter
-from cubicweb.selectors import is_instance
+from cubicweb.predicates import is_instance
 
 
 ALL_FORMATS = frozenset(('SEDA 2.0', 'SEDA 1.0', 'SEDA 0.2', 'simplified'))