~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/buildmaster/model/builder.py

  • Committer: Curtis Hovey
  • Date: 2011-12-24 17:49:30 UTC
  • mto: This revision was merged to the branch mainline in revision 14602.
  • Revision ID: curtis.hovey@canonical.com-20111224174930-xk1d5cvhyxq46ctf
Moved webapp to lp.services.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
from zope.component import getUtility
44
44
from zope.interface import implements
45
45
 
 
46
from canonical.config import config
 
47
from canonical.database.sqlbase import (
 
48
    SQLBase,
 
49
    sqlvalues,
 
50
    )
 
51
from lp.services.helpers import filenameToContentType
 
52
from lp.services.webapp import urlappend
 
53
from lp.services.webapp.interfaces import (
 
54
    DEFAULT_FLAVOR,
 
55
    IStoreSelector,
 
56
    MAIN_STORE,
 
57
    SLAVE_FLAVOR,
 
58
    )
 
59
from canonical.librarian.utils import copy_and_close
46
60
from lp.app.errors import NotFoundError
47
61
from lp.buildmaster.interfaces.builder import (
48
62
    BuildDaemonError,
61
75
    specific_job_classes,
62
76
    )
63
77
from lp.registry.interfaces.person import validate_public_person
64
 
from lp.services.config import config
65
 
from lp.services.database.sqlbase import (
66
 
    SQLBase,
67
 
    sqlvalues,
68
 
    )
69
 
from lp.services.helpers import filenameToContentType
70
78
from lp.services.job.interfaces.job import JobStatus
71
79
from lp.services.job.model.job import Job
72
80
from lp.services.librarian.interfaces import ILibraryFileAliasSet
73
 
from lp.services.librarian.utils import copy_and_close
74
81
from lp.services.propertycache import (
75
82
    cachedproperty,
76
83
    get_property_cache,
77
84
    )
78
85
from lp.services.twistedsupport import cancel_on_timeout
79
86
from lp.services.twistedsupport.processmonitor import ProcessWithTimeout
80
 
from lp.services.webapp import urlappend
81
 
from lp.services.webapp.interfaces import (
82
 
    DEFAULT_FLAVOR,
83
 
    IStoreSelector,
84
 
    MAIN_STORE,
85
 
    SLAVE_FLAVOR,
86
 
    )
87
87
# XXX Michael Nelson 2010-01-13 bug=491330
88
88
# These dependencies on soyuz will be removed when getBuildRecords()
89
89
# is moved.