~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/blueprints/interfaces/specificationsubscription.py

  • Committer: Robert Collins
  • Date: 2011-05-22 21:10:25 UTC
  • mto: This revision was merged to the branch mainline in revision 13100.
  • Revision ID: robert@canonical.com-20110522211025-n29dt8j30dqr23nz
Bah. My kingdom for a statically checked language.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
    'ISpecificationSubscription',
12
12
    ]
13
13
 
14
 
from zope.interface import Interface
 
14
from zope.interface import (
 
15
    Attribute,
 
16
    Interface,
 
17
    )
15
18
from zope.schema import (
16
19
    Bool,
17
20
    Int,
33
36
            'The person you would like to subscribe to this blueprint. '
34
37
            'They will be notified of the subscription by e-mail.')
35
38
            )
 
39
    personID = Attribute('db person value')
36
40
    specification = Int(title=_('Specification'), required=True,
37
41
        readonly=True)
 
42
    specificationID = Attribute('db specification value')
38
43
    essential = Bool(title=_('Participation essential'), required=True,
39
44
        description=_('Check this if participation in the design and '
40
45
        'discussion of the feature is essential. This will '