summaryrefslogtreecommitdiff
path: root/python/examples
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples')
-rwxr-xr-xpython/examples/api/hello4
-rwxr-xr-xpython/examples/api/hello_xml4
2 files changed, 4 insertions, 4 deletions
diff --git a/python/examples/api/hello b/python/examples/api/hello
index a220fe794e..ad314da19e 100755
--- a/python/examples/api/hello
+++ b/python/examples/api/hello
@@ -48,5 +48,5 @@ try:
except MessagingError,m:
print m
-finally:
- connection.close()
+
+connection.close()
diff --git a/python/examples/api/hello_xml b/python/examples/api/hello_xml
index 07c2b13120..ab567ec5dd 100755
--- a/python/examples/api/hello_xml
+++ b/python/examples/api/hello_xml
@@ -73,5 +73,5 @@ try:
except MessagingError,m:
print m
-finally:
- connection.close()
+
+connection.close()