~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Curtis Hovey
  • Date: 2011-12-24 17:49:30 UTC
  • mto: This revision was merged to the branch mainline in revision 14602.
  • Revision ID: curtis.hovey@canonical.com-20111224174930-xk1d5cvhyxq46ctf
Moved webapp to lp.services.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2009-2012 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
4
"""Views for BugSubscription."""
32
32
from zope.traversing.browser import absoluteURL
33
33
 
34
34
from lp import _
 
35
from lp.services.webapp import (
 
36
    canonical_url,
 
37
    LaunchpadView,
 
38
    )
 
39
from lp.services.webapp.authorization import (
 
40
    check_permission,
 
41
    precache_permission_for_objects,
 
42
    )
 
43
from lp.services.webapp.launchpadform import ReturnToReferrerMixin
 
44
from lp.services.webapp.menu import structured
35
45
from lp.app.browser.launchpadform import (
36
46
    action,
37
47
    LaunchpadFormView,
48
58
    get_structural_subscriptions_for_bug,
49
59
    )
50
60
from lp.services.propertycache import cachedproperty
51
 
from lp.services.webapp import (
52
 
    canonical_url,
53
 
    LaunchpadView,
54
 
    )
55
 
from lp.services.webapp.authorization import (
56
 
    check_permission,
57
 
    precache_permission_for_objects,
58
 
    )
59
 
from lp.app.browser.launchpadform import ReturnToReferrerMixin
60
 
from lp.services.webapp.menu import structured
61
61
 
62
62
 
63
63
class BugSubscriptionAddView(LaunchpadFormView):