Author: croberts
Date: 2012-01-18 14:14:00 +0000 (Wed, 18 Jan 2012)
New Revision: 5187
Modified:
trunk/cumin/python/cumin/inventory/system.py
Log:
Addressing BZ 782485 by handling a potential exception where wallaby data was possible but
not actually present.
Modified: trunk/cumin/python/cumin/inventory/system.py
===================================================================
--- trunk/cumin/python/cumin/inventory/system.py 2012-01-12 22:36:13 UTC (rev 5186)
+++ trunk/cumin/python/cumin/inventory/system.py 2012-01-18 14:14:00 UTC (rev 5187)
@@ -406,7 +406,12 @@
return field
def render_cell_title(self, session, record):
- return record[self.field.index]
+ value = ""
+ try:
+ value = record[self.field.index]
+ except Exception:
+ pass #no data to show is a reasonable case if a node has wallaby, but
doesn't really use it
+ return value
def render_text_align(self, session):
return "right"
Show replies by date