[rhmessaging-commits] rhmessaging commits: r1687 - mgmt/mint/python/mint.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Mon Feb 11 16:54:49 EST 2008
Author: justi9
Date: 2008-02-11 16:54:49 -0500 (Mon, 11 Feb 2008)
New Revision: 1687
Modified:
mgmt/mint/python/mint/__init__.py
Log:
Proptect against managedBroker not being set.
Modified: mgmt/mint/python/mint/__init__.py
===================================================================
--- mgmt/mint/python/mint/__init__.py 2008-02-11 21:49:41 UTC (rev 1686)
+++ mgmt/mint/python/mint/__init__.py 2008-02-11 21:54:49 UTC (rev 1687)
@@ -87,7 +87,7 @@
#print "\n\n=============== %s %d found AFTER QUERY\n\n" % (objType.__name__, idOriginal)
pass
- if obj and obj.__class__ is Broker:
+ if obj and obj.__class__ is Broker and obj.managedBroker:
host, port = obj.managedBroker.split(":")
port = int(port)
existing = list(obj.registrations)
More information about the rhmessaging-commits
mailing list