~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/launchpad_loggerhead/app.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-08-23 02:25:31 UTC
  • mfrom: (13757.1.1 fix-codebrowse-oopses)
  • Revision ID: launchpad@pqm.canonical.com-20110823022531-4q0d6xofbriwr2ey
[r=stevenk][rollback=13728] Fix launchpad_loggerhead's OOPS page
 template to work with the new oops_wsgi.

Show diffs side-by-side

added added

removed removed

Lines of Context:
248
248
#  - Andrew Bennetts, 2010-07-27.
249
249
_oops_html_template = '''\
250
250
<html>
251
 
<head><title>Oops! %(oopsid)s</title></head>
 
251
<head><title>Oops! %(id)s</title></head>
252
252
<body>
253
253
<h1>Oops!</h1>
254
254
<p>Something broke while generating the page.
255
255
Please try again in a few minutes, and if the problem persists file a bug at
256
256
<a href="https://bugs.launchpad.net/launchpad"
257
257
>https://bugs.launchpad.net/launchpad</a>
258
 
and quote OOPS-ID <strong>%(oopsid)s</strong>
 
258
and quote OOPS-ID <strong>%(id)s</strong>
259
259
</p></body></html>'''
260
260
 
261
261