[cleanup] remove 3.7 deprecation warning stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 26 Mar 2010 13:45:48 +0100
branchstable
changeset 5041 ebdab53b0c45
parent 5040 00782905b720
child 5042 cc062bb09abb
[cleanup] remove 3.7 deprecation warning
web/views/iprogress.py
web/views/plots.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<br/>'
                u'<canvas class="progressbar" id="canvas%s" width="100" height="10"></canvas>'
                % (short_title.replace(' ','&nbsp;'), cid))
--- 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):