~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/longpoll/__init__.py

[r=allenap][no-qa] Split much of lp.app.longpoll into
 lp.services.longpoll.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
    "subscribe",
10
10
    ]
11
11
 
12
 
from .interfaces import (
 
12
from lazr.restful.utils import get_current_browser_request
 
13
from zope.component import getMultiAdapter
 
14
 
 
15
from lp.services.longpoll.interfaces import (
13
16
    ILongPollEvent,
14
17
    ILongPollSubscriber,
15
18
    )
16
 
from lazr.restful.utils import get_current_browser_request
17
 
from zope.component import getMultiAdapter
18
19
 
19
20
 
20
21
def subscribe(target, event, request=None):