~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/filesystem/diff/template.html

  • Committer: David Coles
  • Date: 2010-07-20 00:30:45 UTC
  • Revision ID: coles.david@gmail.com-20100720003045-j239u3w3m5wfribb
Put "__name__" = "__main__" into globals for console.

Fixes issue where __name__ did not work when run in the python console. exec() 
with an empty globals dictionary will result in "__name__" = "__builtin__".

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<html xmlns="http://www.w3.org/1999/xhtml"
2
2
      xmlns:py="http://genshi.edgewall.org/">
3
3
  <head>
4
 
    <title>Diff</title>
 
4
    <title>${title} (diff)</title>
5
5
  </head>
6
6
  <body>
7
7
    <div id="ivle_padding">
8
 
      <h1>Diff</h1>
9
8
      <py:for each="file in files">
10
9
        <p><b>File:</b> ${file}</p>
11
10
        <pre py:replace="files[file]" />