~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/webapp/adapter.py

  • Committer: Curtis Hovey
  • Date: 2011-12-24 17:49:30 UTC
  • mto: This revision was merged to the branch mainline in revision 14602.
  • Revision ID: curtis.hovey@canonical.com-20111224174930-xk1d5cvhyxq46ctf
Moved webapp to lp.services.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
    IMasterStore,
65
65
    )
66
66
from lp.services.database.readonly import is_read_only
67
 
from canonical.launchpad.webapp.dbpolicy import MasterDatabasePolicy
68
 
from canonical.launchpad.webapp.interaction import get_interaction_extras
69
 
from canonical.launchpad.webapp.interfaces import (
 
67
from lp.services.webapp.dbpolicy import MasterDatabasePolicy
 
68
from lp.services.webapp.interaction import get_interaction_extras
 
69
from lp.services.webapp.interfaces import (
70
70
    DEFAULT_FLAVOR,
71
71
    IStoreSelector,
72
72
    MAIN_STORE,
75
75
    ReadOnlyModeViolation,
76
76
    SLAVE_FLAVOR,
77
77
    )
78
 
from canonical.launchpad.webapp.opstats import OpStats
 
78
from lp.services.webapp.opstats import OpStats
79
79
from canonical.lazr.timeout import set_default_timeout_function
80
80
from lp.services import features
81
81
from lp.services.log.loglevels import DEBUG2
224
224
    secs = get_request_duration()
225
225
    request = get_current_browser_request()
226
226
    timeline = get_request_timeline(request)
227
 
    from canonical.launchpad.webapp.errorlog import (
 
227
    from lp.services.webapp.errorlog import (
228
228
        maybe_record_user_requested_oops)
229
229
    oopsid = maybe_record_user_requested_oops()
230
230
    if oopsid is None:
797
797
 
798
798
 
799
799
class StoreSelector:
800
 
    """See `canonical.launchpad.webapp.interfaces.IStoreSelector`."""
 
800
    """See `lp.services.webapp.interfaces.IStoreSelector`."""
801
801
    classProvides(IStoreSelector)
802
802
 
803
803
    @staticmethod