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

« back to all changes in this revision

Viewing changes to ivle/util.py

  • Committer: William Grant
  • Date: 2009-05-28 02:43:56 UTC
  • Revision ID: grantw@unimelb.edu.au-20090528024356-mlrhizz7omnr71hd
Test ivle.mimetypes.nice_filetype.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    This is the old "standard" exception class for IVLE errors. It is only
32
32
    used in fileservice, and should not be used in any new code.
33
33
    """
34
 
 
35
 
    message = None
36
 
 
37
34
    def __init__(self, httpcode, message=None):
38
35
        self.httpcode = httpcode
39
36
        self.message = message