~jelmer/brz/colocated-spec

« back to all changes in this revision

Viewing changes to breezy/plugins/launchpad/lp_registration.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:
23
23
import urllib
24
24
import xmlrpclib
25
25
 
26
 
from brzlib import (
 
26
from breezy import (
27
27
    config,
28
28
    errors,
29
29
    urlutils,
30
 
    __version__ as _brzlib_version,
 
30
    __version__ as _breezy_version,
31
31
    )
32
 
from brzlib.transport.http import _urllib2_wrappers
 
32
from breezy.transport.http import _urllib2_wrappers
33
33
 
34
34
 
35
35
# for testing, do
114
114
            uri_type = urllib.splittype(self.service_url)[0]
115
115
            transport = XMLRPCTransport(uri_type)
116
116
            transport.user_agent = 'bzr/%s (xmlrpclib/%s)' \
117
 
                    % (_brzlib_version, xmlrpclib.__version__)
 
117
                    % (_breezy_version, xmlrpclib.__version__)
118
118
        self.transport = transport
119
119
 
120
120
    @property