[rhmessaging-commits] rhmessaging commits: r1604 - mgmt/cumin/python/cumin.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Thu Jan 24 15:18:48 EST 2008


Author: justi9
Date: 2008-01-24 15:18:48 -0500 (Thu, 24 Jan 2008)
New Revision: 1604

Modified:
   mgmt/cumin/python/cumin/broker.py
Log:
Make sure we always set the port in broker registrations.



Modified: mgmt/cumin/python/cumin/broker.py
===================================================================
--- mgmt/cumin/python/cumin/broker.py	2008-01-24 20:18:04 UTC (rev 1603)
+++ mgmt/cumin/python/cumin/broker.py	2008-01-24 20:18:48 UTC (rev 1604)
@@ -681,7 +681,7 @@
                 if len(elems) > 1:
                     reg.host, reg.port = elems[0], int(elems[1])
                 else:
-                    reg.host = elems[0]
+                    reg.host, reg.port = elems[0], 5672
 
                 reg.name = names[i]
 




More information about the rhmessaging-commits mailing list