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

« back to all changes in this revision

Viewing changes to ivle/worksheet/rst.py

  • Committer: William Grant
  • Date: 2010-07-03 01:39:51 UTC
  • Revision ID: grantw@unimelb.edu.au-20100703013951-mo3i08jw494dddve
Install 'python' in the jail, not 'python2.5' -- we want the default system Python, and 2.5 doesn't exist on Lucid.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1555
1555
        self.body.append('<exercise weight="1" src="')
1556
1556
 
1557
1557
    def depart_exercise(self, node):
1558
 
        self.body.append('"/>')
 
1558
        self.body.append('"/>\n')
1559
1559
 
1560
1560
    def visit_challenge(self, node):
1561
1561
        self.body.append('<exercise weight="0" src="')
1562
1562
 
1563
1563
    def depart_challenge(self, node):
1564
 
        self.body.append('"/>')
 
1564
        self.body.append('"/>\n')
1565
1565
 
1566
1566
    def visit_literal(self, node):
1567
1567
        """Process text to prevent tokens from wrapping."""