diff options
author | 2016-03-08 14:12:18 -0800 | |
---|---|---|
committer | 2016-03-08 14:12:18 -0800 | |
commit | 81932891af86bb844999dfe1ca70c68ff30c0a5d (patch) | |
tree | 63ded1f25ffebab65f58f887baa8b378de515b5f /examples/python/route_guide | |
parent | 8c3d9943f6061c9c2370ab7e165cb9219adc7a02 (diff) | |
parent | 0e67d191267aa9bb641bbeaf11246878c3521e75 (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.py | 4 |
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() |