From ea2e8bce0a3ac4e267da0095b3618b8584240715 Mon Sep 17 00:00:00 2001 From: Lidi Zheng Date: Mon, 21 Oct 2019 14:57:22 -0700 Subject: [PATCH] Fix the typo --- src/python/grpcio/grpc/_cython/_cygrpc/aio/call.pyx.pxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/grpcio/grpc/_cython/_cygrpc/aio/call.pyx.pxi b/src/python/grpcio/grpc/_cython/_cygrpc/aio/call.pyx.pxi index f6acc199483..d758c1eedcb 100644 --- a/src/python/grpcio/grpc/_cython/_cygrpc/aio/call.pyx.pxi +++ b/src/python/grpcio/grpc/_cython/_cygrpc/aio/call.pyx.pxi @@ -146,7 +146,7 @@ cdef class _AioCall: grpc_call_unref(call) gpr_free(ops) - if receive_status_on_client_operation.code() == grpc._cygrpc.StatusCode.ok: + if receive_status_on_client_operation.code() == StatusCode.ok: return receive_message_operation.message() raise grpc.experimental.aio.AioRpcError(