summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2011-05-17 18:56:45 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2011-05-17 18:56:45 +0100
commit95dc58760290d190a9f62d13d5b3936a0249cb43 (patch)
tree2b18b363ad37a144b49131fa07b8ba90994d4239 /examples
parent070bddd9a60604ea47f003a0982ee90356092be5 (diff)
example-async-client: remove duplicate handle_hello_error()
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=22560
Diffstat (limited to 'examples')
-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