diff MoinMoin/stats/pagesize.py @ 4183:fc20a076aad0

Accomodate for consolidation of Request/Response
author Florian Krupicka <florian.krupicka@googlemail.com>
date Sat, 21 Jun 2008 16:57:20 +0200
parents 85884c67228d
children
line wrap: on
line diff
--- a/MoinMoin/stats/pagesize.py	Thu Jun 19 18:23:02 2008 +0200
+++ b/MoinMoin/stats/pagesize.py	Sat Jun 21 16:57:20 2008 +0200
@@ -113,8 +113,8 @@
         (request.cfg.chart_options['width'], request.cfg.chart_options['height']),
         image, labels)
 
-    request.response.content_type = 'image/gif'
-    request.response.content_length = len(image.getvalue())
+    request.content_type = 'image/gif'
+    request.content_length = len(image.getvalue())
 
     # copy the image
     image.reset()