~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/browser/widgets/bugtask.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-01 14:54:33 UTC
  • mfrom: (14400.2.27 dsp-vocab-unknown-distro)
  • Revision ID: launchpad@pqm.canonical.com-20111201145433-u5ahqdo1rl9mkybh
[r=abentley][bug=889192] DSP vocabulary must handle the case where
 the distribution is not yet known.

Show diffs side-by-side

added added

removed removed

Lines of Context:
512
512
 
513
513
        if bool(getFeatureFlag('disclosure.dsp_picker.enabled')):
514
514
            try:
 
515
                self.context.vocabulary.setDistribution(distribution)
515
516
                source = self.context.vocabulary.getTermByToken(input).value
516
517
            except NotFoundError:
517
518
                raise ConversionError(