~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/interfaces/questiontarget.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-15 10:35:32 UTC
  • mfrom: (14517.1.3 new-bzr)
  • Revision ID: launchpad@pqm.canonical.com-20111215103532-q2m4uyk0r8ugiayx
[r=sinzui, poolie][bug=509016] Always load foreign plugins,
 but restrict probers to avoid accidentally opening foreign branches.
 (re-land)

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
    'ISearchQuestionsForm',
14
14
    ]
15
15
 
 
16
from zope.interface import Interface
 
17
from zope.schema import (
 
18
    Choice,
 
19
    Int,
 
20
    List,
 
21
    Set,
 
22
    TextLine,
 
23
    )
 
24
 
16
25
from lazr.restful.declarations import (
17
26
    call_with,
18
27
    export_as_webservice_entry,
24
33
    REQUEST_USER,
25
34
    )
26
35
from lazr.restful.fields import Reference
27
 
from zope.interface import Interface
28
 
from zope.schema import (
29
 
    Choice,
30
 
    Int,
31
 
    List,
32
 
    Set,
33
 
    TextLine,
34
 
    )
35
36
 
36
37
from canonical.launchpad import _
 
38
from lp.answers.interfaces.questioncollection import (
 
39
    ISearchableByQuestionOwner,
 
40
    )
37
41
from lp.answers.enums import (
38
 
    QUESTION_STATUS_DEFAULT_SEARCH,
39
42
    QuestionSort,
40
43
    QuestionStatus,
41
 
    )
42
 
from lp.answers.interfaces.questioncollection import (
43
 
    ISearchableByQuestionOwner,
 
44
    QUESTION_STATUS_DEFAULT_SEARCH,
44
45
    )
45
46
from lp.registry.interfaces.person import IPerson
46
47
from lp.services.fields import PublicPersonChoice