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

« back to all changes in this revision

Viewing changes to ivle/webapp/tos/view.html

  • Committer: William Grant
  • Date: 2009-03-17 07:16:03 UTC
  • Revision ID: grantw@unimelb.edu.au-20090317071603-ux5qxbjkpdarvig3
Tags: 0.1.9.10
ivle.interpret.execute_raw() no longer breaks with lots of data.

Previously we uses subprocess' wait(), which doesn't empty the stdout
pipe. It filled up, causing the child to block. We now use communicate()
instead, which select()s and reads the pipes to unblock things.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html xmlns="http://www.w3.org/1999/xhtml"
 
2
      xmlns:py="http://genshi.edgewall.org/">
 
3
  <head>
 
4
    <title>Terms of Service</title>
 
5
  </head>
 
6
  <body>
 
7
    <h1>Terms of Service</h1>
 
8
    <div id="ivle_padding">
 
9
      <p>When you first logged into IVLE, you agreed to the following Terms of
 
10
Service:</p>
 
11
      <hr />
 
12
      <div py:replace="Markup(text)" />
 
13
      <hr />
 
14
    </div>
 
15
  </body>
 
16
</html>