~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/browser/tales.py

  • Committer: William Grant
  • Date: 2011-12-30 08:13:14 UTC
  • mto: This revision was merged to the branch mainline in revision 14611.
  • Revision ID: william.grant@canonical.com-20111230081314-f73f4ozgkzdi5xqb
More stuff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
    )
48
48
 
49
49
from lp import _
 
50
from lp.app.browser.badge import IHasBadges
 
51
from lp.app.browser.stringformatter import (
 
52
    escape,
 
53
    FormattersAPI,
 
54
    )
50
55
from lp.app.interfaces.launchpad import (
51
56
    IHasIcon,
52
57
    IHasLogo,
53
58
    IHasMugshot,
54
59
    IPrivacy,
55
60
    )
 
61
from lp.blueprints.interfaces.specification import ISpecification
 
62
from lp.blueprints.interfaces.sprint import ISprint
 
63
from lp.bugs.interfaces.bug import IBug
 
64
from lp.buildmaster.enums import BuildStatus
 
65
from lp.code.interfaces.branch import IBranch
56
66
from lp.layers import LaunchpadLayer
 
67
from lp.registry.interfaces.distribution import IDistribution
 
68
from lp.registry.interfaces.distributionsourcepackage import (
 
69
    IDistributionSourcePackage,
 
70
    )
 
71
from lp.registry.interfaces.person import IPerson
 
72
from lp.registry.interfaces.product import IProduct
 
73
from lp.registry.interfaces.projectgroup import IProjectGroup
 
74
from lp.services.features import getFeatureFlag
57
75
from lp.services.webapp import (
58
76
    canonical_url,
59
77
    urlappend,
60
78
    )
61
79
from lp.services.webapp.authorization import check_permission
 
80
from lp.services.webapp.canonicalurl import nearest_adapter
62
81
from lp.services.webapp.interfaces import (
63
82
    IApplicationMenu,
64
83
    IContextMenu,
78
97
    nearest,
79
98
    )
80
99
from lp.services.webapp.session import get_cookie_domain
81
 
from canonical.lazr.canonicalurl import nearest_adapter
82
 
from lp.app.browser.badge import IHasBadges
83
 
from lp.app.browser.stringformatter import (
84
 
    escape,
85
 
    FormattersAPI,
86
 
    )
87
 
from lp.blueprints.interfaces.specification import ISpecification
88
 
from lp.blueprints.interfaces.sprint import ISprint
89
 
from lp.bugs.interfaces.bug import IBug
90
 
from lp.buildmaster.enums import BuildStatus
91
 
from lp.code.interfaces.branch import IBranch
92
 
from lp.registry.interfaces.distribution import IDistribution
93
 
from lp.registry.interfaces.distributionsourcepackage import (
94
 
    IDistributionSourcePackage,
95
 
    )
96
 
from lp.registry.interfaces.person import IPerson
97
 
from lp.registry.interfaces.product import IProduct
98
 
from lp.registry.interfaces.projectgroup import IProjectGroup
99
 
from lp.services.features import getFeatureFlag
100
100
from lp.soyuz.enums import ArchivePurpose
101
101
from lp.soyuz.interfaces.archive import IPPA
102
102
from lp.soyuz.interfaces.archivesubscriber import IArchiveSubscriberSet