65
67
def __init__(self, base, _from_transport=None):
66
68
assert base.startswith(_hooked_scheme + '://')
67
69
# We need to trick the backing transport class about the scheme used
69
71
fake_base = _change_scheme_in(base, _hooked_scheme, _backing_scheme)
70
72
super(InstrumentedTransport, self).__init__(
71
73
fake_base, _from_transport=_from_transport)