~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/model/archivepermission.py

  • Committer: Curtis Hovey
  • Date: 2011-12-29 05:29:36 UTC
  • mto: This revision was merged to the branch mainline in revision 14606.
  • Revision ID: curtis.hovey@canonical.com-20111229052936-c261pibg1p6ze6m4
Moved canonical.config to lp.services.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    implements,
27
27
    )
28
28
 
29
 
from lp.app.errors import NotFoundError
30
 
from lp.registry.interfaces.distribution import IDistributionSet
31
 
from lp.registry.interfaces.sourcepackagename import (
32
 
    ISourcePackageName,
33
 
    ISourcePackageNameSet,
 
29
from canonical.database.constants import UTC_NOW
 
30
from canonical.database.datetimecol import UtcDateTimeCol
 
31
from canonical.database.enumcol import EnumCol
 
32
from canonical.database.sqlbase import (
 
33
    SQLBase,
 
34
    sqlvalues,
34
35
    )
35
 
from lp.services.database.constants import UTC_NOW
36
 
from lp.services.database.datetimecol import UtcDateTimeCol
37
 
from lp.services.database.enumcol import EnumCol
38
36
from lp.services.database.lpstorm import (
39
37
    IMasterStore,
40
38
    IStore,
41
39
    )
42
 
from lp.services.database.sqlbase import (
43
 
    SQLBase,
44
 
    sqlvalues,
45
 
    )
46
40
from lp.services.webapp.interfaces import (
47
41
    DEFAULT_FLAVOR,
48
42
    IStoreSelector,
49
43
    MAIN_STORE,
50
44
    )
 
45
from lp.app.errors import NotFoundError
 
46
from lp.registry.interfaces.distribution import IDistributionSet
 
47
from lp.registry.interfaces.sourcepackagename import (
 
48
    ISourcePackageName,
 
49
    ISourcePackageNameSet,
 
50
    )
51
51
from lp.soyuz.enums import ArchivePermissionType
52
52
from lp.soyuz.interfaces.archive import (
53
53
    ComponentNotFound,