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

« back to all changes in this revision

Viewing changes to ivle/pulldown_subj/dummy_subj.py

  • Committer: Nick Chadwick
  • Date: 2009-03-17 01:42:19 UTC
  • mto: This revision was merged to the branch mainline in revision 1162.
  • Revision ID: chadnickbok@gmail.com-20090317014219-e0dvzakaxw58b71p
Fixed a problem with exercise editor, which wasn't editing or adding
variables properly.

Fixed the final issues from the merge-proposal, which make deleting
exercises use appropriate functions, which now raise exceptions
if they fail.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    if ord(login[:1]) < ord('m'):
34
34
        # Return a list of subject/semester pairs
35
35
        return [
36
 
            (u'600151', u'2009', u'1'),
37
 
            (u'12345', u'2009', u'2'),
38
 
            (u'98765', u'2009', u'1'),
 
36
            (u'12345', u'1'),
 
37
            (u'12345', u'2'),
 
38
            (u'98765', u'1'),
39
39
        ]
40
40
    else:
41
41
        # This demonstrates that you can return None, to indicate to the