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

« back to all changes in this revision

Viewing changes to ivle/webapp/tutorial/__init__.py

  • Committer: Matt Giuca
  • Date: 2010-02-18 00:19:48 UTC
  • Revision ID: matt.giuca@gmail.com-20100218001948-8079xhwqvrf2ul15
ivle.webapp.tutorial: Fixed unqualified reference to exception ExerciseNotFound.

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
        Exercise.id == identifier).one()
219
219
 
220
220
    if exercise is None:
221
 
        raise ExerciseNotFound(identifier)
 
221
        raise ivle.worksheet.utils.ExerciseNotFound(identifier)
222
222
 
223
223
    # Read exercise file and present the exercise
224
224
    # Note: We do not use the testing framework because it does a lot more