/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/propose/launchpad.py

  • Committer: Jelmer Vernooij
  • Date: 2019-01-25 02:35:12 UTC
  • Revision ID: jelmer@jelmer.uk-20190125023512-8sk1scd4r61f69u1
Fix default launchpadlib API URL.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
from breezy.plugins.launchpad import (
44
44
    lp_api,
45
45
    )
 
46
 
 
47
from launchpadlib import uris
46
48
""")
47
49
from ...transport import get_transport
48
50
 
151
153
    def __init__(self):
152
154
        self._staging = staging
153
155
        if staging:
154
 
            lp_base_url = lp_api.STAGING_SERVICE_ROOT
 
156
            lp_base_url = uris.STAGING_SERVICE_ROOT
155
157
        else:
156
 
            lp_base_url = None
 
158
            lp_base_url = uris.LPNET_SERVICE_ROOT
157
159
        self.launchpad = lp_api.connect_launchpad(lp_base_url)
158
160
 
159
161
    def __repr__(self):