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

« back to all changes in this revision

Viewing changes to lib/common/forumutil.py

  • Committer: mattgiuca
  • Date: 2008-02-19 02:33:19 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:501
forumutil.py: Fix from previous revision. "rolenm" no longer in login_details.
    Uses str(role) instead.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
        email = quote(login_details.email)
39
39
 
40
40
 
41
 
    role = quote(login_details.rolenm)
 
41
    role = quote(str(login_details.role))
42
42
    
43
43
    hashtext = login + nick + email + role + secret
44
44
    hash = hashlib.md5(hashtext).hexdigest()