~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/scripts/ftpmaster.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:
28
28
from zope.component import getUtility
29
29
 
30
30
from canonical.database.constants import UTC_NOW
31
 
from lp.services.helpers import filenameToContentType
32
 
from canonical.librarian.interfaces import (
33
 
    ILibrarianClient,
34
 
    UploadFailed,
35
 
    )
36
 
from canonical.librarian.utils import copy_and_close
37
31
from lp.app.errors import NotFoundError
38
32
from lp.archiveuploader.utils import determine_source_file_type
39
33
from lp.registry.interfaces.person import IPersonSet
41
35
from lp.registry.interfaces.series import SeriesStatus
42
36
from lp.registry.interfaces.sourcepackage import SourcePackageFileType
43
37
from lp.services.browser_helpers import get_plural_text
 
38
from lp.services.helpers import filenameToContentType
44
39
from lp.services.librarian.interfaces import ILibraryFileAliasSet
 
40
from lp.services.librarian.interfaces.client import (
 
41
    ILibrarianClient,
 
42
    UploadFailed,
 
43
    )
 
44
from lp.services.librarian.utils import copy_and_close
45
45
from lp.services.scripts.base import (
46
46
    LaunchpadScript,
47
47
    LaunchpadScriptFailure,