dabo Commit
Revision 4354
Date: 2008-08-04 11:35:25 -0700 (Mon, 04 Aug 2008)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/4354

Changed:
U   trunk/dabo/ui/uiwx/dFormMixin.py

Log:
An error fixed back in January is re-rearing its ugly head in my client's app.
This should fix it.


Diff:
Modified: trunk/dabo/ui/uiwx/dFormMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dFormMixin.py    2008-08-04 16:10:42 UTC (rev 4353)
+++ trunk/dabo/ui/uiwx/dFormMixin.py    2008-08-04 18:35:25 UTC (rev 4354)
@@ -870,7 +870,7 @@
                if hasattr(self, "GetStatusBar"):
                        try:
                                ret = self.GetStatusBar()
-                       except AttributeError:
+                       except (TypeError, AttributeError):
                                # pkm: My client got a TypeError from the wx 
layer, perhaps because the
                                #      window is a dialog and not a form, but I 
can't reproduce on my end.
                                #      Just return None immediately if this 
happens again.




_______________________________________________
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