~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-31 00:26:32 UTC
  • mfrom: (14606.4.19 apocaremains-2)
  • Revision ID: launchpad@pqm.canonical.com-20111231002632-67fafhhz150cct3b
[r=wgrant][no-qa] Explode canonical.lazr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
import urllib
33
33
 
34
34
from lazr.uri import URI
35
 
 
36
35
from zope import i18n
37
36
from zope.app import zapi
38
37
from zope.component import (
59
58
from zope.security.interfaces import Unauthorized
60
59
from zope.traversing.interfaces import ITraversable
61
60
 
62
 
 
63
 
from lp.services.config import config
64
61
from lp import _
65
 
from lp.services.helpers import intOrZero
66
 
from lp.services.statistics.interfaces.statistic import (
67
 
    ILaunchpadStatisticSet,
68
 
    )
69
 
from lp.services.verification.interfaces.logintoken import ILoginTokenSet
70
 
from lp.services.temporaryblobstorage.interfaces import (
71
 
    ITemporaryStorageManager,
72
 
    )
73
 
from lp.layers import WebServiceLayer
74
 
from lp.services.webapp import (
75
 
    canonical_name,
76
 
    canonical_url,
77
 
    LaunchpadView,
78
 
    Link,
79
 
    Navigation,
80
 
    StandardLaunchpadFacets,
81
 
    stepto,
82
 
    )
83
 
from lp.services.webapp.authorization import check_permission
84
 
from lp.services.webapp.breadcrumb import Breadcrumb
85
 
from lp.services.webapp.interfaces import (
86
 
    IBreadcrumb,
87
 
    ILaunchBag,
88
 
    ILaunchpadRoot,
89
 
    INavigationMenu,
90
 
    )
91
 
from lp.services.webapp.publisher import RedirectionView
92
 
from lp.services.webapp.url import urlappend
93
 
from lp.services.webapp.vhosts import allvhosts
94
 
from canonical.lazr import (
 
62
from lp.answers.interfaces.questioncollection import IQuestionSet
 
63
from lp.app.browser.folder import (
95
64
    ExportedFolder,
96
65
    ExportedImageFolder,
97
66
    )
98
 
from lp.answers.interfaces.questioncollection import IQuestionSet
99
67
from lp.app.browser.launchpadform import (
100
68
    custom_widget,
101
69
    LaunchpadFormView,
127
95
from lp.code.interfaces.codehosting import IBazaarApplication
128
96
from lp.code.interfaces.codeimport import ICodeImportSet
129
97
from lp.hardwaredb.interfaces.hwdb import IHWDBApplication
 
98
from lp.layers import WebServiceLayer
130
99
from lp.registry.interfaces.announcement import IAnnouncementSet
131
100
from lp.registry.interfaces.codeofconduct import ICodeOfConductSet
132
101
from lp.registry.interfaces.distribution import IDistributionSet
140
109
    )
141
110
from lp.registry.interfaces.projectgroup import IProjectGroupSet
142
111
from lp.registry.interfaces.sourcepackagename import ISourcePackageNameSet
 
112
from lp.services.config import config
 
113
from lp.services.helpers import intOrZero
143
114
from lp.services.identity.interfaces.account import AccountStatus
144
115
from lp.services.propertycache import cachedproperty
 
116
from lp.services.statistics.interfaces.statistic import ILaunchpadStatisticSet
 
117
from lp.services.temporaryblobstorage.interfaces import (
 
118
    ITemporaryStorageManager,
 
119
    )
145
120
from lp.services.utils import utc_now
 
121
from lp.services.verification.interfaces.logintoken import ILoginTokenSet
 
122
from lp.services.webapp import (
 
123
    canonical_name,
 
124
    canonical_url,
 
125
    LaunchpadView,
 
126
    Link,
 
127
    Navigation,
 
128
    StandardLaunchpadFacets,
 
129
    stepto,
 
130
    )
 
131
from lp.services.webapp.authorization import check_permission
 
132
from lp.services.webapp.breadcrumb import Breadcrumb
 
133
from lp.services.webapp.interfaces import (
 
134
    IBreadcrumb,
 
135
    ILaunchBag,
 
136
    ILaunchpadRoot,
 
137
    INavigationMenu,
 
138
    )
 
139
from lp.services.webapp.publisher import RedirectionView
 
140
from lp.services.webapp.url import urlappend
 
141
from lp.services.webapp.vhosts import allvhosts
146
142
from lp.services.worlddata.interfaces.country import ICountrySet
147
143
from lp.services.worlddata.interfaces.language import ILanguageSet
148
144
from lp.soyuz.interfaces.binarypackagename import IBinaryPackageNameSet
152
148
    IProcessorSet,
153
149
    )
154
150
from lp.testopenid.interfaces.server import ITestOpenIDApplication
155
 
from lp.translations.interfaces.translations import IRosettaApplication
156
151
from lp.translations.interfaces.translationgroup import ITranslationGroupSet
157
152
from lp.translations.interfaces.translationimportqueue import (
158
153
    ITranslationImportQueue,
159
154
    )
 
155
from lp.translations.interfaces.translations import IRosettaApplication
160
156
 
161
157
 
162
158
class NavigationMenuTabs(LaunchpadView):