~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2011-12-30 07:32:58 UTC
  • mto: This revision was merged to the branch mainline in revision 14611.
  • Revision ID: william.grant@canonical.com-20111230073258-g76qf50dpdqcxzfb
Move the interfaces across too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
from zope.interface import implements
31
31
 
32
32
from lp.services.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 lp.services.webapp.interfaces import ILaunchpadRoot
37
 
from lp.services.webapp import (
38
 
    canonical_url,
39
 
    LaunchpadView,
40
 
    urlappend,
41
 
    urlparse,
42
 
    )
43
 
from lp.services.webapp.vhosts import allvhosts
44
 
from canonical.lazr.interfaces import (
 
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')