From 366e44c81022a4ee4ce86b2478cc72f569a277f8 Mon Sep 17 00:00:00 2001 From: Jonathan Robie Date: Mon, 9 Aug 2010 17:31:40 +0000 Subject: Removed finally - Python before 2.5 did not allow finally together with specific exceptions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@983743 13f79535-47bb-0310-9956-ffa450edef68 --- python/examples/api/hello | 4 ++-- python/examples/api/hello_xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'python/examples/api') 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() -- cgit v1.2.1