--- a/cubicweb/web/views/baseviews.py Tue Mar 26 13:08:13 2019 +0100
+++ b/cubicweb/web/views/baseviews.py Fri Mar 22 17:42:36 2019 +0100
@@ -77,8 +77,6 @@
from cubicweb import _
-from warnings import warn
-
from six.moves import range
from logilab.mtconverter import TransformError, xml_escape
@@ -368,11 +366,8 @@
:param listid: the DOM id to use for the root element
"""
- if subvid is None and 'vid' in kwargs:
- warn("should give a 'subvid' argument instead of 'vid'",
- DeprecationWarning, stacklevel=2)
- else:
- kwargs['vid'] = subvid
+ assert 'vid' not in kwargs
+ kwargs['vid'] = subvid
return super(SimpleListView, self).call(**kwargs)