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

« back to all changes in this revision

Viewing changes to ivle/util.py

  • Committer: William Grant
  • Date: 2009-06-23 12:21:45 UTC
  • Revision ID: grantw@unimelb.edu.au-20090623122145-wb0chy9qha8h9u9r
Define IVLEError.message explicitly, as BaseException.message is deprecated and generates warnings.

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
 
34
37
    def __init__(self, httpcode, message=None):
35
38
        self.httpcode = httpcode
36
39
        self.message = message