summaryrefslogtreecommitdiff
path: root/examples/example-async-client.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example-async-client.py')
-rw-r--r--examples/example-async-client.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/examples/example-async-client.py b/examples/example-async-client.py
index 7a8214a..c9e0a4f 100644
--- a/examples/example-async-client.py
+++ b/examples/example-async-client.py
@@ -60,18 +60,6 @@ def handle_hello_error(e):
if hello_replied and raise_replied:
loop.quit()
-def handle_hello_error(e):
- global failed
- global hello_replied
- hello_replied = True
- failed = True
-
- print "HelloWorld raised an exception! That's not meant to happen..."
- print "\t", str(e)
-
- if hello_replied and raise_replied:
- loop.quit()
-
def handle_raise_reply():
global failed
global raise_replied