~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/hardwaredb/doc/hwdb.txt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-05 01:16:46 UTC
  • mfrom: (14628.1.2 js-client-link)
  • Revision ID: launchpad@pqm.canonical.com-20120105011646-dlhd7oqm9pui6yk1
[r=benji][bug=911973] Set lp_original_uri properly for objects
        returned by named_get and named_post that have a self_link.

Show diffs side-by-side

added added

removed removed

Lines of Context:
408
408
the field `owner` is updated.
409
409
 
410
410
    >>> email = getUtility(IEmailAddressSet).new(
411
 
    ...     u'beeblebrox@beeblebrox.net', user)
 
411
    ...     u'beeblebrox@beeblebrox.net', user, account=user.account)
412
412
    >>> transaction.commit()
413
413
    >>> login_person(user)
414
414
    >>> user.validateAndEnsurePreferredEmail(email)