Fix a couple other _protocol attributes

This commit is contained in:
Jean-Paul Calderone 2023-03-16 09:09:25 -04:00
parent 58e0e3def7
commit c9dba4d0a4

View File

@ -231,7 +231,7 @@ class Client(object):
reactor, self.process.node_dir, request, None, reactor, self.process.node_dir, request, None,
) )
self.process = process self.process = process
self.protocol = self.process.transport._protocol self.protocol = self.process.transport.proto
yield await_client_ready(self.process, minimum_number_of_servers=servers) yield await_client_ready(self.process, minimum_number_of_servers=servers)
@ -253,7 +253,7 @@ def create_client(reactor, request, temp_dir, introducer, flog_gatherer, name, w
returnValue( returnValue(
Client( Client(
process=node_process, process=node_process,
protocol=node_process.transport._protocol, protocol=node_process.transport.proto,
) )
) )