~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to MoinMoin/support/werkzeug/debug/templates/traceback_summary.html

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20080622211713-inlv5k4eifxckelr
ImportĀ upstreamĀ versionĀ 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<div class="traceback">
2
 
  <% if traceback.is_syntax_error %>
3
 
    <% if include_title %>
4
 
      <h3>Syntax Error</h3>
5
 
    <% endif %>
6
 
    <ul>
7
 
    <% for frame in traceback.frames %>
8
 
      <li>$frame.render()</li>
9
 
    <% endfor %>
10
 
    </ul>
11
 
    <pre>$escape(traceback.exception)</pre>
12
 
  <% else %>
13
 
    <% if include_title %>
14
 
      <h3>Traceback <em>(most recent call last)</em>:</h3>
15
 
    <% endif %>
16
 
    <ul>
17
 
    <% for frame in traceback.frames %>
18
 
      <li<% if frame.info %> title="$escape(frame.info, True)"<% endif %>>$frame.render()</li>
19
 
    <% endfor %>
20
 
    </ul>
21
 
    <blockquote>$escape(traceback.exception)</blockquote>
22
 
  <% endif %>
23
 
</div>