dabo Commit
Revision 4190
Date: 2008-06-26 06:43:51 -0700 (Thu, 26 Jun 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4190
Changed:
U trunk/dabo/lib/propertyHelperMixin.py
Log:
Fixed the error class being caught.
Diff:
Modified: trunk/dabo/lib/propertyHelperMixin.py
===================================================================
--- trunk/dabo/lib/propertyHelperMixin.py 2008-06-26 13:43:02 UTC (rev
4189)
+++ trunk/dabo/lib/propertyHelperMixin.py 2008-06-26 13:43:51 UTC (rev
4190)
@@ -186,8 +186,7 @@
try:
self._setName(_propDict[prop])
continue
- except AttributeError:
- # Not a class that implements
_setName()
+ except NameError:
pass
propRef = eval("self.__class__.%s" % prop)
if type(propRef) == property:
_______________________________________________
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]