~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/testing/factory.py

  • Committer: Julian Edwards
  • Date: 2011-07-28 20:46:18 UTC
  • mfrom: (13553 devel)
  • mto: This revision was merged to the branch mainline in revision 13555.
  • Revision ID: julian.edwards@canonical.com-20110728204618-tivj2wx2oa9s32bx
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
2068
2068
            owner = target.owner
2069
2069
        if description is None:
2070
2070
            description = self.getUniqueString('description')
2071
 
        with person_logged_in(target.owner):
 
2071
        with person_logged_in(owner):
2072
2072
            question = target.newQuestion(
2073
2073
                owner=owner, title=title, description=description)
2074
2074
        return question