~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/configure.zcml

  • 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:
179
179
    provides=".interfaces.questiontarget.IQuestionTarget"
180
180
    factory=".adapters.sourcepackagerelease_to_questiontarget"
181
181
    />
 
182
  <adapter
 
183
    for="lp.registry.interfaces.sourcepackage.ISourcePackage"
 
184
    provides=".interfaces.questiontarget.IQuestionTarget"
 
185
    factory=".adapters.sourcepackage_to_questiontarget"
 
186
    />
182
187
 
183
188
  <adapter
184
189
    provides=".interfaces.faqtarget.IFAQTarget"