dabo Commit
Revision 4308
Date: 2008-07-22 17:06:13 -0700 (Tue, 22 Jul 2008)
Author: Ed
Trac:
http://svn.dabodev.com/trac/dabo/changeset/4308Changed:
U trunk/dabo/ui/uiwx/dPemMixin.py
Log:
Improved the exception handling when figuring out attProperties and their actual value. The code here now mirrors that in the propertyHelperMixin.py code.
Diff:
Modified: trunk/dabo/ui/uiwx/dPemMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dPemMixin.py 2008-07-22 18:13:02 UTC (rev 4307)
+++ trunk/dabo/ui/uiwx/dPemMixin.py 2008-07-23 00:06:13 UTC (rev 4308)
@@ -116,7 +116,7 @@
else:
try:
attVal = eval(val)
- except (NameError, SyntaxError):
+ except (TypeError, SyntaxError, NameError, AttributeError):
attVal = val
properties[prop] = attVal
properties = dictStringify(properties)
_______________________________________________
Post Messages to:
Dabo-dev@...
Subscription Maintenance:
http://leafe.com/mailman/listinfo/dabo-devSearchable Archives:
http://leafe.com/archives/search/dabo-devThis message:
http://leafe.com/archives/byMID/20080723000613.88ECD3182C8@...