~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/browser/cve.py

  • Committer: Aaron Bentley
  • Date: 2011-07-01 11:27:27 UTC
  • mto: (13316.14.3 getnewcache)
  • mto: This revision was merged to the branch mainline in revision 13548.
  • Revision ID: aaron@canonical.com-20110701112727-hz6kfnwf1c29opo3
Fix pages broken by assuming LaunchpadView.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
    canonical_url,
21
21
    ContextMenu,
22
22
    GetitemNavigation,
 
23
    LaunchpadView,
23
24
    Link,
24
25
    )
25
26
from canonical.launchpad.webapp.batching import BatchNavigator
122
123
    heading = 'Remove links to bug reports'
123
124
 
124
125
 
125
 
class CveSetView:
 
126
class CveSetView(LaunchpadView):
126
127
 
127
128
    def __init__(self, context, request):
128
 
        self.context = context
129
 
        self.request = request
 
129
        super(CveSetView, self).__init__(context, request)
130
130
        self.notices = []
131
131
        self.results = None
132
132
        self.text = self.request.form.get('text', None)