Commit 75f2756f authored by Stephanie Marcu's avatar Stephanie Marcu
Browse files

remove deprecation warnings cw 3.9

parent 934d3d1e67db
......@@ -11,7 +11,7 @@ _ = unicode
from logilab.mtconverter import xml_escape
from cubicweb import Unauthorized
from cubicweb.selectors import implements
from cubicweb.selectors import is_instance
from cubicweb.web import uicfg, box, action
from cubicweb.web.htmlwidgets import BoxWidget
from cubicweb.web.views import primary
......@@ -22,7 +22,7 @@ uicfg.primaryview_section.tag_object_of(('*', 'in_basket', '*'), 'hidden')
class BasketPrimaryView(primary.PrimaryView):
__select__ = implements('Basket',)
__select__ = is_instance('Basket',)
entity_name = 'Basket'
nothing_msg = _('nothing in basket')
content_msg = _('items in this basket')
......@@ -154,7 +154,7 @@ class BasketBox(box.UserRQLBoxTemplate):
class SelectBasketContentAction(action.Action):
category = 'mainactions'
__select__ = implements('Basket')
__select__ = is_instance('Basket')
__regid__ = 'select_basket_content'
title = _('actions_select_basket_content')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment