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 | e3bc2893e6a3fae16079ba7bdcb034f3026fee76 (patch) | |
tree | 1db61aeed50308f7ea0159f3870e54bc1b02dbe3 | |
parent | 4b67ae91be27048aca8ded77b1089dd0487eff03 (diff) | |
download | qpid-python-e3bc2893e6a3fae16079ba7bdcb034f3026fee76.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@983743 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-x | qpid/python/examples/api/hello | 4 | ||||
-rwxr-xr-x | qpid/python/examples/api/hello_xml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/qpid/python/examples/api/hello b/qpid/python/examples/api/hello index a220fe794e..ad314da19e 100755 --- a/qpid/python/examples/api/hello +++ b/qpid/python/examples/api/hello @@ -48,5 +48,5 @@ try: except MessagingError,m: print m -finally: - connection.close() + +connection.close() diff --git a/qpid/python/examples/api/hello_xml b/qpid/python/examples/api/hello_xml index 07c2b13120..ab567ec5dd 100755 --- a/qpid/python/examples/api/hello_xml +++ b/qpid/python/examples/api/hello_xml @@ -73,5 +73,5 @@ try: except MessagingError,m: print m -finally: - connection.close() + +connection.close() |