~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/browser/question.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-04-26 21:01:38 UTC
  • mfrom: (12915.5.6 question-enums-0)
  • Revision ID: launchpad@pqm.canonical.com-20110426210138-j3jm6vik0x9cn0ef
[rs=sinzui][bug=771321] Rename answers/interfaces/questionenums to
 answers/enums.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
    IQuestionLinkFAQForm,
91
91
    )
92
92
from lp.answers.interfaces.questioncollection import IQuestionSet
93
 
from lp.answers.interfaces.questionenums import (
 
93
from lp.answers.enums import (
94
94
    QuestionAction,
95
95
    QuestionSort,
96
96
    QuestionStatus,
649
649
            # Remove the description widget.
650
650
            widgets = [(True, self.widgets[name])
651
651
                       for name in self.search_field_names]
652
 
            self.widgets = form.Widgets(widgets, len(self.prefix)+1)
 
652
            self.widgets = form.Widgets(widgets, len(self.prefix) + 1)
653
653
            return self.search_template()
654
654
        return self.continue_action.success(data)
655
655