aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/python/multiplex/run_codegen.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/python/multiplex/run_codegen.py')
-rw-r--r--examples/python/multiplex/run_codegen.py18
1 files changed, 14 insertions, 4 deletions
diff --git a/examples/python/multiplex/run_codegen.py b/examples/python/multiplex/run_codegen.py
index d960c3cf16..be8915fe20 100644
--- a/examples/python/multiplex/run_codegen.py
+++ b/examples/python/multiplex/run_codegen.py
@@ -15,7 +15,17 @@
from grpc_tools import protoc
-protoc.main(('', '-I../../protos', '--python_out=.', '--grpc_python_out=.',
- '../../protos/helloworld.proto',))
-protoc.main(('', '-I../../protos', '--python_out=.', '--grpc_python_out=.',
- '../../protos/route_guide.proto',))
+protoc.main((
+ '',
+ '-I../../protos',
+ '--python_out=.',
+ '--grpc_python_out=.',
+ '../../protos/helloworld.proto',
+))
+protoc.main((
+ '',
+ '-I../../protos',
+ '--python_out=.',
+ '--grpc_python_out=.',
+ '../../protos/route_guide.proto',
+))