# HG changeset patch # User Christophe de Vienne # Date 1396353445 -7200 # Node ID 990676d3f39f72d0380243faea7634e87b95a058 # Parent 737983d8749779bdea05fc46e02e7a0937327074 Remove a misleading comment about self.render() behavior. The former comment suggested that View.render called with 'row' or 'col' would set cw_row or cw_col, which is not (anymore ?) accurate. Related to #3696871. diff -r 737983d87497 -r 990676d3f39f sobjects/notification.py --- a/sobjects/notification.py Thu Mar 06 18:41:23 2014 +0100 +++ b/sobjects/notification.py Tue Apr 01 13:57:25 2014 +0200 @@ -129,9 +129,10 @@ # need a fresh stream at each iteration, reset it explicitly self.w = None try: - # XXX call render before subject to set .row/.col attributes on the - # view try: + # XXX forcing the row & col here may make the content and + # subject inconsistent because subject will depend on + # self.cw_row & self.cw_col if they are set. content = self.render(row=0, col=0, **kwargs) subject = self.subject() except SkipEmail: