diff options
author | Jonathan Robie <jonathan@apache.org> | 2010-08-09 17:31:40 +0000 |
---|---|---|
committer | Jonathan Robie <jonathan@apache.org> | 2010-08-09 17:31:40 +0000 |
commit | 366e44c81022a4ee4ce86b2478cc72f569a277f8 (patch) | |
tree | 9f9d3a08135684f7f8bf391bce76ec69635e1213 /python/examples | |
parent | 6b41db0155435d9c49fc1f32fac56ea742d849f2 (diff) | |
download | qpid-python-366e44c81022a4ee4ce86b2478cc72f569a277f8.tar.gz |
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
Diffstat (limited to 'python/examples')
-rwxr-xr-x | python/examples/api/hello | 4 | ||||
-rwxr-xr-x | python/examples/api/hello_xml | 4 |
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() |