Author: eallen
Date: 2010-09-07 12:31:55 -0400 (Tue, 07 Sep 2010)
New Revision: 4258
Modified:
mgmt/newdata/cumin/python/cumin/messaging/connection.py
Log:
Fixing unreported python exception. When there is an external broker link, displaying the
connections page caused an exception because the process and PID for the external broker
was None.
Modified: mgmt/newdata/cumin/python/cumin/messaging/connection.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/messaging/connection.py 2010-09-07 16:19:01 UTC (rev
4257)
+++ mgmt/newdata/cumin/python/cumin/messaging/connection.py 2010-09-07 16:31:55 UTC (rev
4258)
@@ -117,7 +117,7 @@
return "Process (PID)"
def render_cell_content(self, session, record):
- args = (record[self.field.index], record[self.pid_field.index])
+ args = (record[self.field.index], record[self.pid_field.index] or 0)
return "%s (%i)" % args
class ConnectionGeneralStatSet(StatSet):
Show replies by date