/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/plugins/launchpad/lp_propose.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 18:10:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521181028-zn04pdfw0od9hfj3
Rename brzlib => breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
from __future__ import absolute_import
18
18
 
19
 
from brzlib import (
 
19
from breezy import (
20
20
    errors,
21
21
    hooks,
22
22
    )
23
 
from brzlib.lazy_import import lazy_import
 
23
from breezy.lazy_import import lazy_import
24
24
lazy_import(globals(), """
25
25
import webbrowser
26
26
 
27
 
from brzlib import (
 
27
from breezy import (
28
28
    msgeditor,
29
29
    )
30
 
from brzlib.i18n import gettext
31
 
from brzlib.plugins.launchpad import (
 
30
from breezy.i18n import gettext
 
31
from breezy.plugins.launchpad import (
32
32
    lp_api,
33
33
    lp_registration,
34
34
    )
39
39
    """Hooks for proposing a merge on Launchpad."""
40
40
 
41
41
    def __init__(self):
42
 
        hooks.Hooks.__init__(self, "brzlib.plugins.launchpad.lp_propose",
 
42
        hooks.Hooks.__init__(self, "breezy.plugins.launchpad.lp_propose",
43
43
            "Proposer.hooks")
44
44
        self.add_hook('get_prerequisite',
45
45
            "Return the prerequisite branch for proposing as merge.", (2, 1))