~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/browser/person.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:
126
126
from zope.security.interfaces import Unauthorized
127
127
from zope.security.proxy import removeSecurityProxy
128
128
 
129
 
from lp.services.config import config
130
 
from canonical.database.sqlbase import flush_database_updates
131
129
from lp import _
132
 
from lp.services.feeds.browser import FeedsMixin
133
 
from lp.services.verification.interfaces.authtoken import LoginTokenType
134
 
from lp.services.mail.interfaces import (
135
 
    INotificationRecipientSet,
136
 
    UnknownRecipientError,
137
 
    )
138
 
from lp.services.verification.interfaces.logintoken import ILoginTokenSet
139
 
from lp.services.webapp import (
140
 
    ApplicationMenu,
141
 
    canonical_url,
142
 
    ContextMenu,
143
 
    enabled_with_permission,
144
 
    Link,
145
 
    Navigation,
146
 
    NavigationMenu,
147
 
    StandardLaunchpadFacets,
148
 
    stepthrough,
149
 
    stepto,
150
 
    structured,
151
 
    )
152
 
from lp.services.webapp.authorization import check_permission
153
 
from lp.services.webapp.batching import BatchNavigator
154
 
from lp.services.webapp.interfaces import (
155
 
    ILaunchBag,
156
 
    IOpenLaunchBag,
157
 
    )
158
 
from lp.services.webapp.login import logoutPerson
159
 
from lp.services.webapp.menu import get_current_view
160
 
from lp.services.webapp.publisher import LaunchpadView
161
130
from lp.answers.browser.questiontarget import SearchQuestionsView
162
131
from lp.answers.enums import QuestionParticipation
163
132
from lp.answers.interfaces.questioncollection import IQuestionSet
249
218
    Milestone,
250
219
    milestone_sort_key,
251
220
    )
 
221
from lp.services.config import config
 
222
from lp.services.database.sqlbase import flush_database_updates
 
223
from lp.services.feeds.browser import FeedsMixin
252
224
from lp.services.fields import LocationField
253
 
from lp.services.helpers import shortlist
254
225
from lp.services.geoip.interfaces import IRequestPreferredLanguages
255
226
from lp.services.gpg.interfaces import (
256
227
    GPGKeyNotFoundError,
257
228
    IGPGHandler,
258
229
    )
 
230
from lp.services.helpers import shortlist
259
231
from lp.services.identity.interfaces.account import (
260
232
    AccountStatus,
261
233
    IAccount,
265
237
    IEmailAddress,
266
238
    IEmailAddressSet,
267
239
    )
 
240
from lp.services.mail.interfaces import (
 
241
    INotificationRecipientSet,
 
242
    UnknownRecipientError,
 
243
    )
268
244
from lp.services.messages.interfaces.message import (
269
245
    IDirectEmailAuthorization,
270
246
    QuotaReachedError,
283
259
    ISalesforceVoucherProxy,
284
260
    SalesforceVoucherProxyException,
285
261
    )
 
262
from lp.services.verification.interfaces.authtoken import LoginTokenType
 
263
from lp.services.verification.interfaces.logintoken import ILoginTokenSet
 
264
from lp.services.webapp import (
 
265
    ApplicationMenu,
 
266
    canonical_url,
 
267
    ContextMenu,
 
268
    enabled_with_permission,
 
269
    Link,
 
270
    Navigation,
 
271
    NavigationMenu,
 
272
    StandardLaunchpadFacets,
 
273
    stepthrough,
 
274
    stepto,
 
275
    structured,
 
276
    )
 
277
from lp.services.webapp.authorization import check_permission
 
278
from lp.services.webapp.batching import BatchNavigator
 
279
from lp.services.webapp.interfaces import (
 
280
    ILaunchBag,
 
281
    IOpenLaunchBag,
 
282
    )
 
283
from lp.services.webapp.login import logoutPerson
 
284
from lp.services.webapp.menu import get_current_view
 
285
from lp.services.webapp.publisher import LaunchpadView
286
286
from lp.services.worlddata.interfaces.country import ICountry
287
287
from lp.services.worlddata.interfaces.language import ILanguageSet
288
288
from lp.soyuz.browser.archivesubscription import (