aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio/grpc/beta
diff options
context:
space:
mode:
authorGravatar Nathaniel Manista <nathaniel@google.com>2015-09-22 18:19:02 +0000
committerGravatar Nathaniel Manista <nathaniel@google.com>2015-09-22 18:19:02 +0000
commit8c2c44b5c6a0e7024ce3e830c2f7a5154bfbbe8f (patch)
tree963658545bf3e5d9b98a9eef7f7c8999b82bcbc1 /src/python/grpcio/grpc/beta
parent493fd972826a04083cd31ae1c0154b649c1264aa (diff)
Fix erroneous attribute name.
This defect was introduced in 9e4d0610ea5e2bb302c. I had thought that this code was exercised in tests but it is bypassed by the use of grpc_test.beta.test_utilities.not_really_secure_channel. :-(
Diffstat (limited to 'src/python/grpcio/grpc/beta')
-rw-r--r--src/python/grpcio/grpc/beta/implementations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/grpcio/grpc/beta/implementations.py b/src/python/grpcio/grpc/beta/implementations.py
index 9b461fb3dd..c9d64ad35a 100644
--- a/src/python/grpcio/grpc/beta/implementations.py
+++ b/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