~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/translations/model/potemplate.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-31 00:16:50 UTC
  • mfrom: (14606.3.7 apocaremains)
  • Revision ID: launchpad@pqm.canonical.com-20111231001650-pjeyhfjhm6mg3yp8
[r=wgrant][no-qa] Merge canonical.database into lp.services.database.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
from zope.interface import implements
52
52
from zope.security.proxy import removeSecurityProxy
53
53
 
54
 
from canonical.database.constants import DEFAULT
55
 
from canonical.database.datetimecol import UtcDateTimeCol
56
 
from canonical.database.enumcol import EnumCol
57
 
from canonical.database.sqlbase import (
58
 
    flush_database_updates,
59
 
    quote,
60
 
    quote_like,
61
 
    SQLBase,
62
 
    sqlvalues,
63
 
    )
64
 
from lp.services.helpers import shortlist
65
 
from lp.services.mail.helpers import get_email_template
66
 
from lp.services.database.lpstorm import (
67
 
    IMasterStore,
68
 
    IStore,
69
 
    )
70
54
from lp.app.enums import ServiceUsage
71
55
from lp.app.errors import NotFoundError
72
56
from lp.app.interfaces.launchpad import ILaunchpadCelebrities
74
58
from lp.registry.model.packaging import Packaging
75
59
from lp.registry.model.sourcepackagename import SourcePackageName
76
60
from lp.services.database.collection import Collection
 
61
from lp.services.database.constants import DEFAULT
 
62
from lp.services.database.datetimecol import UtcDateTimeCol
77
63
from lp.services.database.decoratedresultset import DecoratedResultSet
 
64
from lp.services.database.enumcol import EnumCol
 
65
from lp.services.database.lpstorm import (
 
66
    IMasterStore,
 
67
    IStore,
 
68
    )
 
69
from lp.services.database.sqlbase import (
 
70
    flush_database_updates,
 
71
    quote,
 
72
    quote_like,
 
73
    SQLBase,
 
74
    sqlvalues,
 
75
    )
 
76
from lp.services.helpers import shortlist
 
77
from lp.services.mail.helpers import get_email_template
78
78
from lp.services.propertycache import cachedproperty
79
79
from lp.services.worlddata.model.language import Language
80
80
from lp.translations.enums import RosettaImportStatus