aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/python/route_guide
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-03-08 14:12:18 -0800
committerGravatar David Garcia Quintas <dgq@google.com>2016-03-08 14:12:18 -0800
commit81932891af86bb844999dfe1ca70c68ff30c0a5d (patch)
tree63ded1f25ffebab65f58f887baa8b378de515b5f /examples/python/route_guide
parent8c3d9943f6061c9c2370ab7e165cb9219adc7a02 (diff)
parent0e67d191267aa9bb641bbeaf11246878c3521e75 (diff)
Merge branch 'master' of github.com:grpc/grpc into codegen_lib
Diffstat (limited to 'examples/python/route_guide')
-rw-r--r--examples/python/route_guide/route_guide_server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/python/route_guide/route_guide_server.py b/examples/python/route_guide/route_guide_server.py
index f23b98bf36..f95b36b073 100644
--- a/examples/python/route_guide/route_guide_server.py
+++ b/examples/python/route_guide/route_guide_server.py
@@ -1,4 +1,4 @@
-# Copyright 2015, Google Inc.
+# Copyright 2015-2016, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -128,7 +128,7 @@ def serve():
while True:
time.sleep(_ONE_DAY_IN_SECONDS)
except KeyboardInterrupt:
- server.stop()
+ server.stop(0)
if __name__ == '__main__':
serve()