~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-30 10:09:30 UTC
  • mfrom: (14606.2.8 apocalibrarian)
  • Revision ID: launchpad@pqm.canonical.com-20111230100930-kp3e0l6wakissewm
[r=wgrant][no-qa] Move canonical.librarian to
        lp.services.librarian(server).

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 lp.services.config import config
47
46
from canonical.database.sqlbase import (
48
47
    SQLBase,
49
48
    sqlvalues,
50
49
    )
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
60
50
from lp.app.errors import NotFoundError
61
51
from lp.buildmaster.interfaces.builder import (
62
52
    BuildDaemonError,
75
65
    specific_job_classes,
76
66
    )
77
67
from lp.registry.interfaces.person import validate_public_person
 
68
from lp.services.config import config
 
69
from lp.services.helpers import filenameToContentType
78
70
from lp.services.job.interfaces.job import JobStatus
79
71
from lp.services.job.model.job import Job
80
72
from lp.services.librarian.interfaces import ILibraryFileAliasSet
 
73
from lp.services.librarian.utils import copy_and_close
81
74
from lp.services.propertycache import (
82
75
    cachedproperty,
83
76
    get_property_cache,
84
77
    )
85
78
from lp.services.twistedsupport import cancel_on_timeout
86
79
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.