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

« back to all changes in this revision

Viewing changes to www/apps/tutorialservice/__init__.py

  • Committer: drtomc
  • Date: 2008-02-04 03:34:25 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:399
Tutorialservice: A little extra debuging info

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
    try:
84
84
        problemfile = open(problemfile)
85
85
    except (TypeError, IOError):    # TypeError if problemfile == None
 
86
        raise Exception("cant open problem file: %s" % problemfile)
86
87
        req.throw_error(req.HTTP_NOT_FOUND)
87
88
 
88
89
    # Parse the file into a problem object using the test suite