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

« back to all changes in this revision

Viewing changes to www/common/db.py

  • Committer: mattgiuca
  • Date: 2008-02-05 01:15:49 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:408
trunk: Finally got around to setting svn:ignore on "install_list.py" in this
directory, after we made the decision it would not be added to the repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
        Arguments are the same as those in the "login" table of the schema.
82
82
        The exception is "password", which is a cleartext password. makeuser
83
83
        will hash the password.
 
84
        Raises an exception if the user already exists.
84
85
        """
85
86
        passhash = _passhash(password)
86
87
        query = ("INSERT INTO login (login, passhash, nick, fullname, "