~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/model/queue.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:
39
39
from zope.component import getUtility
40
40
from zope.interface import implements
41
41
 
42
 
from lp.services.config import config
43
42
from canonical.database.constants import UTC_NOW
44
43
from canonical.database.datetimecol import UtcDateTimeCol
45
44
from canonical.database.enumcol import EnumCol
47
46
    SQLBase,
48
47
    sqlvalues,
49
48
    )
50
 
from canonical.librarian.interfaces import DownloadFailed
51
 
from canonical.librarian.utils import copy_and_close
52
49
from lp.app.errors import NotFoundError
53
50
# XXX 2009-05-10 julian
54
51
# This should not import from archivepublisher, but to avoid
59
56
from lp.archiveuploader.tagfiles import parse_tagfile_content
60
57
from lp.registry.interfaces.pocket import PackagePublishingPocket
61
58
from lp.registry.model.sourcepackagename import SourcePackageName
 
59
from lp.services.config import config
62
60
from lp.services.database.lpstorm import (
63
61
    IMasterStore,
64
62
    IStore,
65
63
    )
 
64
from lp.services.librarian.interfaces.client import DownloadFailed
66
65
from lp.services.librarian.model import LibraryFileAlias
 
66
from lp.services.librarian.utils import copy_and_close
67
67
from lp.services.mail.signedmessage import strip_pgp_signature
68
68
from lp.services.propertycache import cachedproperty
69
69
from lp.soyuz.adapters.notification import notify