~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/enums.py

  • Committer: Curtis Hovey
  • Date: 2011-05-14 15:46:33 UTC
  • mto: This revision was merged to the branch mainline in revision 13055.
  • Revision ID: curtis.hovey@canonical.com-20110514154633-yxf4wlcl1wzcwiau
Reverted QUESTION_STATUS_DEFAULT_SEARCH to a tuple.
Casted QUESTION_STATUS_DEFAULT_SEARCH to a list in the method definition.

Show diffs side-by-side

added added

removed removed

Lines of Context:
306
306
        """)
307
307
 
308
308
 
309
 
QUESTION_STATUS_DEFAULT_SEARCH = [
 
309
QUESTION_STATUS_DEFAULT_SEARCH = (
310
310
    QuestionStatus.OPEN, QuestionStatus.NEEDSINFO, QuestionStatus.ANSWERED,
311
 
    QuestionStatus.SOLVED]
 
311
    QuestionStatus.SOLVED)