~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/canonical/launchpad/interfaces/launchpad.py

  • Committer: Curtis Hovey
  • Date: 2011-12-20 22:39:28 UTC
  • mto: (14565.2.1 apocalyptic-pieces)
  • mto: This revision was merged to the branch mainline in revision 14570.
  • Revision ID: curtis.hovey@canonical.com-20111220223928-8zhk39xnt7c6kx5i
Moved IAppFrontPageSearchForm into the only module that uses it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
    )
14
14
from zope.schema import (
15
15
    Bool,
16
 
    Choice,
17
16
    Int,
18
 
    TextLine,
19
17
    )
20
18
 
21
19
from canonical.launchpad import _
24
22
 
25
23
__all__ = [
26
24
    'IAging',
27
 
    'IAppFrontPageSearchForm',
28
25
    'IAuthServerApplication',
29
26
    'IHasAssignee',
30
27
    'IHasBug',
139
136
    """Something created on a certain date."""
140
137
 
141
138
    datecreated = Attribute("The date on which I was created.")
142
 
 
143
 
 
144
 
class IAppFrontPageSearchForm(Interface):
145
 
    """Schema for the app-specific front page search question forms."""
146
 
 
147
 
    search_text = TextLine(title=_('Search text'), required=False)
148
 
 
149
 
    scope = Choice(title=_('Search scope'), required=False,
150
 
                   vocabulary='DistributionOrProductOrProjectGroup')