Silence cubicweb 3.15 deprecation warnings
authorJulien Cristau <julien.cristau@logilab.fr>
Thu, 24 Jul 2014 12:08:32 +0200
changeset 1559 40234c0420e8
parent 1558 5446dd30aa14
child 1560 4205ad135a12
Silence cubicweb 3.15 deprecation warnings cubicweb.selectors → cubicweb.predicates
hooks.py
views/facets.py
views/plots.py
views/primary.py
views/reports.py
views/rss.py
views/testexecution.py
views/tracker.py
--- a/hooks.py	Fri Jul 11 16:51:03 2014 +0200
+++ b/hooks.py	Thu Jul 24 12:08:32 2014 +0200
@@ -13,7 +13,7 @@
 
 from cubicweb import ValidationError
 from cubicweb.predicates import on_fire_transition
-from cubicweb.selectors import is_instance
+from cubicweb.predicates import is_instance
 from cubicweb.uilib import text_cut
 from cubicweb.server import hook, session
 from cubicweb.hooks import notification as notifhooks
--- a/views/facets.py	Fri Jul 11 16:51:03 2014 +0200
+++ b/views/facets.py	Thu Jul 24 12:08:32 2014 +0200
@@ -7,7 +7,7 @@
 """
 __docformat__ = "restructuredtext en"
 
-from cubicweb.selectors import is_instance
+from cubicweb.predicates import is_instance
 from cubicweb.web import facet
 
 class TestConfigEnvFacet(facet.RelationFacet):
--- a/views/plots.py	Fri Jul 11 16:51:03 2014 +0200
+++ b/views/plots.py	Thu Jul 24 12:08:32 2014 +0200
@@ -17,7 +17,7 @@
     'other': "#AAAAAA",
     }
 
-from cubicweb.selectors import multi_columns_rset
+from cubicweb.predicates import multi_columns_rset
 
 try:
     from cubes.jqplot.views import JQPlotSimpleView
--- a/views/primary.py	Fri Jul 11 16:51:03 2014 +0200
+++ b/views/primary.py	Thu Jul 24 12:08:32 2014 +0200
@@ -12,7 +12,7 @@
 from logilab.common.tasksqueue import PRIORITY, MEDIUM
 
 from cubicweb import Unauthorized, NoSelectableObject, tags
-from cubicweb.selectors import (is_instance, has_related_entities, none_rset,
+from cubicweb.predicates import (is_instance, has_related_entities, none_rset,
                                 match_user_groups, match_kwargs, match_form_params,
                                 score_entity)
 from cubicweb.view import EntityView
--- a/views/reports.py	Fri Jul 11 16:51:03 2014 +0200
+++ b/views/reports.py	Thu Jul 24 12:08:32 2014 +0200
@@ -16,7 +16,7 @@
 
 from cubicweb.uilib import domid
 from cubicweb.view import EntityView
-from cubicweb.selectors import is_instance
+from cubicweb.predicates import is_instance
 
 from cubes.narval.views import no_robot_index
 
--- a/views/rss.py	Fri Jul 11 16:51:03 2014 +0200
+++ b/views/rss.py	Thu Jul 24 12:08:32 2014 +0200
@@ -2,7 +2,7 @@
 
 from cubicweb.web import component
 from cubicweb.web.views.xmlrss import RSSItemView, RSSView
-from cubicweb.selectors import is_instance
+from cubicweb.predicates import is_instance
 
 from cubes.apycot.views.testexecution import ChecksDescriptorMixin
 
--- a/views/testexecution.py	Fri Jul 11 16:51:03 2014 +0200
+++ b/views/testexecution.py	Thu Jul 24 12:08:32 2014 +0200
@@ -17,7 +17,7 @@
 from logilab.mtconverter import xml_escape
 
 from cubicweb import Unauthorized, tags
-from cubicweb.selectors import is_instance, none_rset, score_entity
+from cubicweb.predicates import is_instance, none_rset, score_entity
 from cubicweb.view import EntityView
 from cubicweb.web import uicfg, box
 from cubicweb.web.views import tabs, tableview, baseviews
--- a/views/tracker.py	Fri Jul 11 16:51:03 2014 +0200
+++ b/views/tracker.py	Thu Jul 24 12:08:32 2014 +0200
@@ -8,7 +8,7 @@
 __docformat__ = "restructuredtext en"
 _ = unicode
 
-from cubicweb.selectors import is_instance
+from cubicweb.predicates import is_instance
 from cubicweb.view import EntityView
 from cubicweb.web import uicfg
 from cubicweb.web.views import forms