~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/buildmaster/interfaces/buildqueue.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:
30
30
from canonical.launchpad import _
31
31
from lp.buildmaster.enums import BuildFarmJobType
32
32
from lp.buildmaster.interfaces.builder import IBuilder
33
 
from lp.buildmaster.interfaces.buildfarmjob import IBuildFarmJob
 
33
from lp.buildmaster.interfaces.buildfarmjob import (
 
34
    IBuildFarmJob,
 
35
    )
34
36
from lp.services.job.interfaces.job import IJob
35
37
from lp.soyuz.interfaces.processor import IProcessor
36
38
 
104
106
    def reset():
105
107
        """Reset this job, so it can be re-dispatched."""
106
108
 
107
 
    def cancel():
108
 
        """Cancel this job, it will not be re-dispatched."""
109
 
 
110
109
    specific_job = Reference(
111
110
        IBuildFarmJob, title=_("Job"),
112
111
        description=_("Data and operations common to all build farm jobs."))