fix selectors argus tls-sprint
authorsylvain.thenault@logilab.fr
Wed, 18 Feb 2009 11:50:15 +0100
branchtls-sprint
changeset 775 ed106bb2dcd3
parent 774 48cb1f42e79c
child 776 29ba95ea7e7d
child 782 01801a10c567
fix selectors argus
web/views/actions.py
--- a/web/views/actions.py	Wed Feb 18 11:46:35 2009 +0100
+++ b/web/views/actions.py	Wed Feb 18 11:50:15 2009 +0100
@@ -13,7 +13,6 @@
     authenticated_user, match_user_groups, match_search_state,
     has_editable_relation, has_permission, has_add_permission,
     )
-
 from cubicweb.web.action import Action
 from cubicweb.web.views import linksearch_select_url
 from cubicweb.web.views.baseviews import vid_from_rset
@@ -21,11 +20,11 @@
 _ = unicode
 
 @objectify_selector
-def match_searched_etype(cls, req, rset, row=None, col=None, **kwargs):
+def match_searched_etype(cls, req, rset, **kwargs):
     return req.match_search_state(rset)
 
 @objectify_selector
-def view_is_not_default_view(cls, req, rset, row, col, **kwargs):
+def view_is_not_default_view(cls, req, rset, **kwargs):
     # interesting if it propose another view than the current one
     vid = req.form.get('vid')
     if vid and vid != vid_from_rset(req, rset, cls.schema):