comparison MoinMoin/action/links.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 40acd13fb3d6
comparison
equal deleted inserted replaced
4182:ca0cf44dab89 4183:fc20a076aad0
17 if 'mimetype' in form: 17 if 'mimetype' in form:
18 mimetype = form['mimetype'][0] 18 mimetype = form['mimetype'][0]
19 else: 19 else:
20 mimetype = "text/html" 20 mimetype = "text/html"
21 21
22 request.response.mimetype = mimetype 22 request.mimetype = mimetype
23 23
24 if mimetype == "text/html": 24 if mimetype == "text/html":
25 request.theme.send_title(_('Full Link List for "%s"') % request.cfg.sitename) 25 request.theme.send_title(_('Full Link List for "%s"') % request.cfg.sitename)
26 request.write('<pre>') 26 request.write('<pre>')
27 27