~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Curtis Hovey
  • Date: 2011-08-21 14:21:06 UTC
  • mto: This revision was merged to the branch mainline in revision 13745.
  • Revision ID: curtis.hovey@canonical.com-20110821142106-x93hajd6iguma8gx
Update test that was enforcing bad grammar.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2009-2010 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
4
# pylint: disable-msg=E0211,E0213
37
37
    FULLYBUILT = DBItem(1, """
38
38
        Successfully built
39
39
 
40
 
        Build record is an historic account of the build. The build is
41
 
        complete and needs no further work to complete it. The build log etc
42
 
        are all in place if available.
 
40
        Build record is an historic account of the build. The build is complete
 
41
        and needs no further work to complete it. The build log etc are all
 
42
        in place if available.
43
43
        """)
44
44
 
45
45
    FAILEDTOBUILD = DBItem(2, """
100
100
    UPLOADING = DBItem(8, """
101
101
        Uploading build
102
102
 
103
 
        The build has completed and is waiting to be processed by the
 
103
        The build has completed and is waiting to be processed by the 
104
104
        upload processor.
105
105
        """)
106
106
 
107
 
    CANCELLING = DBItem(9, """
108
 
        Cancelling build
109
 
 
110
 
        A cancellation request was made for the build. It cannot be cancelled
111
 
        immediately because a request is made in the webapp but we need to
112
 
        wait for the buildd-manager to actually cancel it.
113
 
        """)
114
 
 
115
 
    CANCELLED = DBItem(10, """
116
 
        Cancelled build
117
 
 
118
 
        A build was cancelled. This is a terminal state.
119
 
        """)
120
 
 
121
107
 
122
108
class BuildFarmJobType(DBEnumeratedType):
123
109
    """Soyuz build farm job type.