[rhmessaging-commits] rhmessaging commits: r1435 - mgmt/cumin/python/cumin.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Thu Dec 6 10:22:58 EST 2007
Author: justi9
Date: 2007-12-06 10:22:58 -0500 (Thu, 06 Dec 2007)
New Revision: 1435
Modified:
mgmt/cumin/python/cumin/exchange.py
Log:
Makes the exchange type pretty printer resilient to unknown types.
Modified: mgmt/cumin/python/cumin/exchange.py
===================================================================
--- mgmt/cumin/python/cumin/exchange.py 2007-12-06 15:20:25 UTC (rev 1434)
+++ mgmt/cumin/python/cumin/exchange.py 2007-12-06 15:22:58 UTC (rev 1435)
@@ -184,7 +184,7 @@
elif exchange.type == "fanout":
return "Fan Out"
else:
- raise Exception()
+ return exchange.type
def render_created_deleted(self, session, queue):
return "%s - %s" % (fmt_datetime(datetime.utcnow()), "")
More information about the rhmessaging-commits
mailing list