Merge pull request #3409 from nathanielmanistaatgoogle/mistaken-attribute-name

Fix erroneous attribute name in grpc.beta.secure_channel.
pull/3418/head
Masood Malekghassemi 9 years ago
commit 25db31dd79
  1. 2
      src/python/grpcio/grpc/beta/implementations.py

@ -147,7 +147,7 @@ def secure_channel(host, port, client_credentials):
A secure Channel to the remote host through which RPCs may be conducted.
"""
intermediary_low_channel = _intermediary_low.Channel(
'%s:%d' % (host, port), client_credentials.intermediary_low_credentials)
'%s:%d' % (host, port), client_credentials._intermediary_low_credentials)
return Channel(intermediary_low_channel._internal, intermediary_low_channel) # pylint: disable=protected-access

Loading…
Cancel
Save