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

« back to all changes in this revision

Viewing changes to lib/common/makeuser.py

  • Committer: drtomc
  • Date: 2008-02-25 19:49:45 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:584
makeuser: added a default argument that was missing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
248
248
    if errors:
249
249
        raise Exception, errors
250
250
 
251
 
def make_user_db(**kwargs):
 
251
def make_user_db(throw_on_error = True, **kwargs):
252
252
    """Creates a user's entry in the database, filling in all the fields.
253
253
    All arguments must be keyword args. They are the fields in the table.
254
254
    However, instead of supplying a "passhash", you must supply a