~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/feeds/feed.py

Merged fix-retest-colorize into redo-read-only-transactions-in-buildmaster, resolving several import conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
from zope.datetime import rfc1123_date
30
30
from zope.interface import implements
31
31
 
32
 
from canonical.config import config
33
 
# XXX: bac 2007-09-20 bug=153795: modules in canonical.lazr should not import
34
 
# from canonical.launchpad, but we're doing it here as an expediency to get a
35
 
# working prototype.
36
 
from canonical.launchpad.webapp.interfaces import ILaunchpadRoot
37
 
from canonical.launchpad.webapp import (
38
 
    canonical_url,
39
 
    LaunchpadView,
40
 
    urlappend,
41
 
    urlparse,
42
 
    )
43
 
from canonical.launchpad.webapp.vhosts import allvhosts
44
 
from canonical.lazr.interfaces import (
 
32
from lp.services.config import config
 
33
from lp.services.feeds.interfaces.feed import (
45
34
    IFeed,
46
35
    IFeedEntry,
47
36
    IFeedPerson,
50
39
    )
51
40
from lp.services.propertycache import cachedproperty
52
41
from lp.services.utils import utc_now
 
42
from lp.services.webapp import (
 
43
    canonical_url,
 
44
    LaunchpadView,
 
45
    urlappend,
 
46
    urlparse,
 
47
    )
 
48
# XXX: bac 2007-09-20 bug=153795: modules in canonical.lazr should not import
 
49
# from canonical.launchpad, but we're doing it here as an expediency to get a
 
50
# working prototype.
 
51
from lp.services.webapp.interfaces import ILaunchpadRoot
 
52
from lp.services.webapp.vhosts import allvhosts
53
53
 
54
54
 
55
55
SUPPORTED_FEEDS = ('.atom', '.html')