web/views/baseviews.py
changeset 6583 4e7325d6b616
parent 6455 3282742dd4c6
child 6740 e4974d5f7dca
equal deleted inserted replaced
6582:8eb7883b4223 6583:4e7325d6b616
   357     __regid__ = 'csv'
   357     __regid__ = 'csv'
   358     redirect_vid = 'incontext'
   358     redirect_vid = 'incontext'
   359 
   359 
   360     def call(self, subvid=None, **kwargs):
   360     def call(self, subvid=None, **kwargs):
   361         if subvid is None and 'vid' in kwargs:
   361         if subvid is None and 'vid' in kwargs:
   362             warn("should give a 'subvid' argument instead of 'vid'",
   362             warn("[3.9] should give a 'subvid' argument instead of 'vid'",
   363                  DeprecationWarning, stacklevel=2)
   363                  DeprecationWarning, stacklevel=2)
   364         else:
   364         else:
   365             kwargs['vid'] = subvid
   365             kwargs['vid'] = subvid
   366         rset = self.cw_rset
   366         rset = self.cw_rset
   367         for i in xrange(len(rset)):
   367         for i in xrange(len(rset)):