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

« back to all changes in this revision

Viewing changes to ivle/worksheet/utils.py

  • Committer: William Grant
  • Date: 2009-03-24 07:48:32 UTC
  • mto: This revision was merged to the branch mainline in revision 1290.
  • Revision ID: grantw@unimelb.edu.au-20090324074832-d519csmjenz7ymz3
Move the test case part delete button to the end.

Show diffs side-by-side

added added

removed removed

Lines of Context:
200
200
    exercises = []
201
201
    # Turns the worksheet into an xml stream, and then finds all the 
202
202
    # exercise nodes in the stream.
203
 
    worksheetdata = genshi.XML(worksheet.data)
 
203
    worksheetdata = genshi.XML(worksheet.get_xml())
204
204
    for kind, data, pos in worksheetdata:
205
205
        if kind is genshi.core.START:
206
206
            # Data is a tuple of tag name and a list of name->value tuples