~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/lp_registration.py

  • Committer: Jelmer Vernooij
  • Date: 2012-01-23 15:02:51 UTC
  • mfrom: (6437.3.19 2.5)
  • mto: This revision was merged to the branch mainline in revision 6444.
  • Revision ID: jelmer@samba.org-20120123150251-skmauxb1q7h6w31t
Merge 2.5 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
class XMLRPCTransport(xmlrpclib.Transport):
57
57
 
58
58
    def __init__(self, scheme):
59
 
        # In python2.4 xmlrpclib.Transport is a old-style class, and does not
60
 
        # define __init__, so we check first
61
 
        init = getattr(xmlrpclib.Transport, '__init__', None)
62
 
        if init is not None:
63
 
            init(self)
 
59
        xmlrpclib.Transport.__init__(self)
64
60
        self._scheme = scheme
65
61
        self._opener = _urllib2_wrappers.Opener()
66
62
        self.verbose = 0