Author: justi9
Date: 2008-09-02 11:36:42 -0400 (Tue, 02 Sep 2008)
New Revision: 2375
Modified:
mgmt/trunk/cumin/python/wooly/widgets.py
Log:
Do the 'None'-ifying down in the property renderer
Modified: mgmt/trunk/cumin/python/wooly/widgets.py
===================================================================
--- mgmt/trunk/cumin/python/wooly/widgets.py 2008-09-02 15:13:36 UTC (rev 2374)
+++ mgmt/trunk/cumin/python/wooly/widgets.py 2008-09-02 15:36:42 UTC (rev 2375)
@@ -439,6 +439,8 @@
if type(value) is str:
value = escape(value)
+ elif value is None:
+ value = "<em>None</em>"
return value
Show replies by date