~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Patch Queue Manager
  • Date: 2012-01-23 15:31:35 UTC
  • mfrom: (6443.1.1 bzr.dev)
  • Revision ID: pqm@pqm.ubuntu.com-20120123153135-8v3r3z1lx055vmpl
(jelmer) Merge the 2.5 series branch. (Jelmer Vernooij)

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