~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/model/question.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:
45
45
    )
46
46
from zope.security.proxy import isinstance as zope_isinstance
47
47
 
48
 
from canonical.database.constants import (
49
 
    DEFAULT,
50
 
    UTC_NOW,
51
 
    )
52
 
from canonical.database.datetimecol import UtcDateTimeCol
53
 
from canonical.database.enumcol import EnumCol
54
 
from canonical.database.nl_search import nl_phrase_search
55
 
from canonical.database.sqlbase import (
56
 
    cursor,
57
 
    quote,
58
 
    SQLBase,
59
 
    sqlvalues,
60
 
    )
61
 
from lp.services.worlddata.helpers import is_english_variant
62
48
from lp.answers.enums import (
63
49
    QUESTION_STATUS_DEFAULT_SEARCH,
64
50
    QuestionAction,
107
93
    IProductSet,
108
94
    )
109
95
from lp.registry.interfaces.sourcepackagename import ISourcePackageNameSet
 
96
from lp.services.database.constants import (
 
97
    DEFAULT,
 
98
    UTC_NOW,
 
99
    )
 
100
from lp.services.database.datetimecol import UtcDateTimeCol
 
101
from lp.services.database.enumcol import EnumCol
 
102
from lp.services.database.nl_search import nl_phrase_search
 
103
from lp.services.database.sqlbase import (
 
104
    cursor,
 
105
    quote,
 
106
    SQLBase,
 
107
    sqlvalues,
 
108
    )
110
109
from lp.services.mail.notificationrecipientset import NotificationRecipientSet
111
110
from lp.services.messages.interfaces.message import IMessage
112
111
from lp.services.messages.model.message import (
114
113
    MessageChunk,
115
114
    )
116
115
from lp.services.propertycache import cachedproperty
 
116
from lp.services.worlddata.helpers import is_english_variant
117
117
from lp.services.worlddata.interfaces.language import ILanguage
118
118
from lp.services.worlddata.model.language import Language
119
119