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

« back to all changes in this revision

Viewing changes to ivle/worksheet/rst.py

  • Committer: David Coles
  • Date: 2009-07-21 02:19:56 UTC
  • mto: (1281.1.8 aufsless)
  • mto: This revision was merged to the branch mainline in revision 1300.
  • Revision ID: coles.david@gmail.com-20090721021956-c1jiwu7fhi2dna1g
Updated to work on bind mounts

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('"/>\n')
 
1558
        self.body.append('"/>')
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('"/>\n')
 
1564
        self.body.append('"/>')
1565
1565
 
1566
1566
    def visit_literal(self, node):
1567
1567
        """Process text to prevent tokens from wrapping."""