~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/browser/branchsubscription.py

Merged fix-retest-colorize into redo-read-only-transactions-in-buildmaster, resolving several import conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
from lazr.restful.utils import smartquote
16
16
from zope.interface import implements
17
17
 
18
 
from canonical.launchpad.webapp import (
19
 
    canonical_url,
20
 
    LaunchpadView,
21
 
    )
22
 
from canonical.launchpad.webapp.authorization import (
23
 
    check_permission,
24
 
    precache_permission_for_objects,
25
 
    )
26
 
from canonical.launchpad.webapp.interfaces import IPrimaryContext
27
 
from canonical.launchpad.webapp.menu import structured
28
18
from lp.app.browser.launchpadform import (
29
19
    action,
30
20
    LaunchpadEditFormView,
32
22
    )
33
23
from lp.code.enums import BranchSubscriptionNotificationLevel
34
24
from lp.code.interfaces.branchsubscription import IBranchSubscription
 
25
from lp.services.webapp import (
 
26
    canonical_url,
 
27
    LaunchpadView,
 
28
    )
 
29
from lp.services.webapp.authorization import (
 
30
    check_permission,
 
31
    precache_permission_for_objects,
 
32
    )
 
33
from lp.services.webapp.interfaces import IPrimaryContext
 
34
from lp.services.webapp.menu import structured
35
35
 
36
36
 
37
37
class BranchSubscriptionPrimaryContext: