web/views/baseviews.py
changeset 10590 7629902e7554
parent 10411 4ee15441f2eb
child 10609 e2d8e81bfe68
equal deleted inserted replaced
10589:7c23b7de2b8d 10590:7629902e7554
   229         Subclasses views that are applicable on None result sets will have to
   229         Subclasses views that are applicable on None result sets will have to
   230         override this method.
   230         override this method.
   231         """
   231         """
   232         rset = self.cw_rset
   232         rset = self.cw_rset
   233         if rset is None:
   233         if rset is None:
   234             raise NotImplementedError, self
   234             raise NotImplementedError(self)
   235         for i in xrange(len(rset)):
   235         for i in xrange(len(rset)):
   236             self.wview(self.__regid__, rset, row=i, **kwargs)
   236             self.wview(self.__regid__, rset, row=i, **kwargs)
   237             if len(rset) > 1:
   237             if len(rset) > 1:
   238                 self.w(u"\n")
   238                 self.w(u"\n")
   239 
   239