~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/browser/bugtarget.py

  • Committer: Ian Booth
  • Date: 2011-04-20 12:59:55 UTC
  • mto: This revision was merged to the branch mainline in revision 12983.
  • Revision ID: ian.booth@canonical.com-20110420125955-dkwi5rg336od67wt
Fix tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
553
553
            # We're being called from the generic bug filing form, so
554
554
            # manually set the chosen distribution as the context.
555
555
            context = distribution
 
556
        elif IProjectGroup.providedBy(context):
 
557
            context = data['product']
556
558
        elif IMaloneApplication.providedBy(context):
557
559
            context = data['bugtarget']
558
560