dabo Commit
Revision 4280
Date: 2008-07-16 08:03:50 -0700 (Wed, 16 Jul 2008)
Author: Nate
Trac: http://svn.dabodev.com/trac/dabo/changeset/4280

Changed:
U   trunk/dabo/lib/propertyHelperMixin.py

Log:
Caught SyntaxError when evaluating expression.  The error happened when I tried 
to open up a cdxml file that had a dPageFrame with a Caption that had a space 
in it.

Diff:
Modified: trunk/dabo/lib/propertyHelperMixin.py
===================================================================
--- trunk/dabo/lib/propertyHelperMixin.py       2008-07-15 01:49:46 UTC (rev 
4279)
+++ trunk/dabo/lib/propertyHelperMixin.py       2008-07-16 15:03:50 UTC (rev 
4280)
@@ -234,6 +234,8 @@
                                valToSet = eval(val, context)
                        except TypeError:
                                valToSet = val
+                       except SyntaxError:
+                               valToSet = val
                        except NameError:
                                valToSet = val
                        setattr(self, prop, valToSet)




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to