You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2010/06/30 23:26:54 UTC
svn commit: r959439 - /qpid/trunk/qpid/tools/src/py/qpid-stat
Author: gsim
Date: Wed Jun 30 21:26:54 2010
New Revision: 959439
URL: http://svn.apache.org/viewvc?rev=959439&view=rev
Log:
Fix to bug introduced in r959353 causing error when qpid-stat is run against standalone broker
Modified:
qpid/trunk/qpid/tools/src/py/qpid-stat
Modified: qpid/trunk/qpid/tools/src/py/qpid-stat
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/tools/src/py/qpid-stat?rev=959439&r1=959438&r2=959439&view=diff
==============================================================================
--- qpid/trunk/qpid/tools/src/py/qpid-stat (original)
+++ qpid/trunk/qpid/tools/src/py/qpid-stat Wed Jun 30 21:26:54 2010
@@ -161,7 +161,8 @@ class BrokerManager(Console):
def Disconnect(self):
if self.broker:
self.qmf.delBroker(self.broker)
- for b in self.brokers: self.qmf.delBroker(b.broker)
+ else:
+ for b in self.brokers: self.qmf.delBroker(b.broker)
def _getCluster(self):
packages = self.qmf.getPackages()
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org