You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jo...@apache.org on 2010/08/09 19:31:41 UTC
svn commit: r983743 - in /qpid/trunk/qpid/python/examples/api: hello
hello_xml
Author: jonathan
Date: Mon Aug 9 17:31:40 2010
New Revision: 983743
URL: http://svn.apache.org/viewvc?rev=983743&view=rev
Log:
Removed finally - Python before 2.5 did not allow finally together with specific exceptions.
Modified:
qpid/trunk/qpid/python/examples/api/hello
qpid/trunk/qpid/python/examples/api/hello_xml
Modified: qpid/trunk/qpid/python/examples/api/hello
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/python/examples/api/hello?rev=983743&r1=983742&r2=983743&view=diff
==============================================================================
--- qpid/trunk/qpid/python/examples/api/hello (original)
+++ qpid/trunk/qpid/python/examples/api/hello Mon Aug 9 17:31:40 2010
@@ -48,5 +48,5 @@ try:
except MessagingError,m:
print m
-finally:
- connection.close()
+
+connection.close()
Modified: qpid/trunk/qpid/python/examples/api/hello_xml
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/python/examples/api/hello_xml?rev=983743&r1=983742&r2=983743&view=diff
==============================================================================
--- qpid/trunk/qpid/python/examples/api/hello_xml (original)
+++ qpid/trunk/qpid/python/examples/api/hello_xml Mon Aug 9 17:31:40 2010
@@ -73,5 +73,5 @@ try:
except MessagingError,m:
print m
-finally:
- connection.close()
+
+connection.close()
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org