~cr3/launchpad-results/trunk

« back to all changes in this revision

Viewing changes to launchpadresults/auth.py

  • Committer: Marc Tardif
  • Date: 2010-09-23 23:40:07 UTC
  • Revision ID: marc.tardif@canonical.com-20100923234007-kxouzhvgv613957k
Added testing layers and factories.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
        person = person_set.getByIdentity(response.identity_url)
33
33
        if person is None:
34
34
            person = person_set.create(
35
 
                response.identity_url, response.fields["nickname"])
 
35
                response.fields["nickname"], response.identity_url)
36
36
 
37
37
        return person
38
38