~ubuntu-branches/ubuntu/raring/trac-accountmanager/raring

« back to all changes in this revision

Viewing changes to acct_mgr/db.py

  • Committer: Bazaar Package Importer
  • Author(s): Leo Costela
  • Date: 2008-12-08 22:50:03 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20081208225003-denqsnd3e2oqlcye
Tags: 0.2.1~vcs20081031-1
new upstream checkout

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
                       "AND sid=%s", (user,))
75
75
        for hash, in cursor:
76
76
            return self.hash_method.check_hash(user, password, hash)
77
 
        return False
 
77
        return None
78
78
 
79
79
    def delete_user(self, user):
80
80
        """Deletes the user account.