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

« back to all changes in this revision

Viewing changes to ivle/webapp/security/views.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:
101
101
                else:
102
102
                    user = None
103
103
                    try:
104
 
                        # Username is case insensitive
105
104
                        user = authenticate.authenticate(req.config, req.store,
106
 
                                    username.value.lower(), password.value)
 
105
                                    username.value, password.value)
107
106
                    except AuthError, msg:
108
107
                        badlogin = msg
109
108
                    if user is None: