~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/doc/question.txt

  • Committer: Curtis Hovey
  • Date: 2011-05-13 02:52:50 UTC
  • mto: This revision was merged to the branch mainline in revision 13040.
  • Revision ID: curtis.hovey@canonical.com-20110513025250-tf8xzk5yx4y9f5fp
Added sourcepackage_to_questiontarget to preserve code that is working with
ISourcePackage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    >>> verifyObject(IQuestionTarget, questiontarget)
49
49
    True
50
50
 
51
 
SourcePackages are also QuestionTargets.
52
 
XXX sinzui 2007-04-24. #108240 SourcePackages should not be QuestionTargets
 
51
SourcePackages are can be adapted to QuestionTargets.
53
52
 
54
53
    >>> evolution_in_hoary = ubuntu.currentseries.getSourcePackage(
55
54
    ...     'evolution')