# HG changeset patch # User Sylvain Thénault # Date 1269607548 -3600 # Node ID ebdab53b0c45deb55842067268e929399329df59 # Parent 00782905b720ae6a701fdad2d117e5c94aadd8af [cleanup] remove 3.7 deprecation warning diff -r 00782905b720 -r ebdab53b0c45 web/views/iprogress.py --- a/web/views/iprogress.py Fri Mar 26 13:45:21 2010 +0100 +++ b/web/views/iprogress.py Fri Mar 26 13:45:48 2010 +0100 @@ -261,8 +261,7 @@ self._cw.html_headers.add_onload('draw_progressbar("canvas%s", %i, %i, %i, "%s");' % (cid, int(100.*done/maxi), int(100.*(done+todo)/maxi), - int(100.*budget/maxi), color), - jsoncall=self._cw.json_request) + int(100.*budget/maxi), color)) self.w(u'%s
' u'' % (short_title.replace(' ',' '), cid)) diff -r 00782905b720 -r ebdab53b0c45 web/views/plots.py --- a/web/views/plots.py Fri Mar 26 13:45:21 2010 +0100 +++ b/web/views/plots.py Fri Mar 26 13:45:48 2010 +0100 @@ -115,8 +115,7 @@ {'plotdefs': '\n'.join(plotdefs), 'figid': figid, 'plotdata': ','.join(plotdata), - 'mode': self.timemode and "'time'" or 'null'}, - jsoncall=req.json_request) + 'mode': self.timemode and "'time'" or 'null'}) class PlotView(baseviews.AnyRsetView):