diff options
Diffstat (limited to 'test/http2_test')
-rw-r--r-- | test/http2_test/http2_test_server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/http2_test/http2_test_server.py b/test/http2_test/http2_test_server.py index 85c356b5ef..46c3e00d18 100644 --- a/test/http2_test/http2_test_server.py +++ b/test/http2_test/http2_test_server.py @@ -90,9 +90,9 @@ def listen(endpoint, test_case): deferred = endpoint.listen(H2Factory(test_case)) def listen_error(reason): # If listening fails, we stop the reactor and exit the program - # with exit_code = 1. + # with exit code 1. global _exit_code - exit_code = 1 + _exit_code = 1 logging.error('Listening failed: %s' % reason.value) twisted.internet.reactor.stop() deferred.addErrback(listen_error) |