~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/model/product.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:
54
54
    )
55
55
from zope.security.proxy import removeSecurityProxy
56
56
 
57
 
from canonical.database.constants import UTC_NOW
58
 
from canonical.database.datetimecol import UtcDateTimeCol
59
 
from canonical.database.enumcol import EnumCol
60
 
from canonical.database.sqlbase import (
61
 
    quote,
62
 
    SQLBase,
63
 
    sqlvalues,
64
 
    )
65
 
from lp.app.interfaces.launchpad import (
66
 
    IHasIcon,
67
 
    IHasLogo,
68
 
    IHasMugshot,
69
 
    )
70
 
from lp.services.statistics.interfaces.statistic import (
71
 
    ILaunchpadStatisticSet,
72
 
    )
73
 
from lp.services.database.lpstorm import IStore
74
 
from lp.services.webapp.interfaces import (
75
 
    DEFAULT_FLAVOR,
76
 
    IStoreSelector,
77
 
    MAIN_STORE,
78
 
    )
79
57
from lp.answers.enums import QUESTION_STATUS_DEFAULT_SEARCH
80
58
from lp.answers.interfaces.faqtarget import IFAQTarget
81
59
from lp.answers.model.faq import (
92
70
    )
93
71
from lp.app.errors import NotFoundError
94
72
from lp.app.interfaces.launchpad import (
 
73
    IHasIcon,
 
74
    IHasLogo,
 
75
    IHasMugshot,
95
76
    ILaunchpadCelebrities,
96
77
    ILaunchpadUsage,
97
78
    IServiceUsage,
169
150
from lp.registry.model.series import ACTIVE_STATUSES
170
151
from lp.registry.model.sourcepackagename import SourcePackageName
171
152
from lp.services.database import bulk
 
153
from lp.services.database.constants import UTC_NOW
 
154
from lp.services.database.datetimecol import UtcDateTimeCol
172
155
from lp.services.database.decoratedresultset import DecoratedResultSet
 
156
from lp.services.database.enumcol import EnumCol
 
157
from lp.services.database.lpstorm import IStore
 
158
from lp.services.database.sqlbase import (
 
159
    quote,
 
160
    SQLBase,
 
161
    sqlvalues,
 
162
    )
173
163
from lp.services.propertycache import (
174
164
    cachedproperty,
175
165
    get_property_cache,
176
166
    )
 
167
from lp.services.statistics.interfaces.statistic import ILaunchpadStatisticSet
 
168
from lp.services.webapp.interfaces import (
 
169
    DEFAULT_FLAVOR,
 
170
    IStoreSelector,
 
171
    MAIN_STORE,
 
172
    )
177
173
from lp.translations.enums import TranslationPermission
178
174
from lp.translations.interfaces.customlanguagecode import (
179
175
    IHasCustomLanguageCodes,