You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2010/02/17 18:56:10 UTC
svn commit: r911120 - /qpid/trunk/qpid/python/qpid/driver.py
Author: rhs
Date: Wed Feb 17 17:56:09 2010
New Revision: 911120
URL: http://svn.apache.org/viewvc?rev=911120&view=rev
Log:
only cache addresses that exist
Modified:
qpid/trunk/qpid/python/qpid/driver.py
Modified: qpid/trunk/qpid/python/qpid/driver.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/python/qpid/driver.py?rev=911120&r1=911119&r2=911120&view=diff
==============================================================================
--- qpid/trunk/qpid/python/qpid/driver.py (original)
+++ qpid/trunk/qpid/python/qpid/driver.py Wed Feb 17 17:56:09 2010
@@ -742,7 +742,8 @@
type, subtype = "queue", None
else:
type, subtype = "topic", er.type
- self.address_cache[name] = (type, subtype)
+ if type is not None:
+ self.address_cache[name] = (type, subtype)
action(type, subtype)
sst.write_query(ExchangeQuery(name), do_result)
sst.write_query(QueueQuery(name), do_action)
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org