aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/http2_test
diff options
context:
space:
mode:
authorGravatar Eric Gribkoff <ericgribkoff@google.com>2017-03-10 14:01:11 -0800
committerGravatar Eric Gribkoff <ericgribkoff@google.com>2017-03-17 00:46:01 -0700
commit95f48c154b1073393fae4d412f4c905194e7f96c (patch)
tree7104e771fa1cda2d6081a153d3308bc09f8e054e /test/http2_test
parent69e2f8216978c4a9293cd5e9f0dbda91e404599e (diff)
really add _
Diffstat (limited to 'test/http2_test')
-rw-r--r--test/http2_test/http2_test_server.py4
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)