dabo Commit
Revision 4200
Date: 2008-06-27 05:16:36 -0700 (Fri, 27 Jun 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4200
Changed:
U trunk/dabo/ui/uiwx/dPdfWindow.py
Log:
Added a second exception class when attempting to import PDFWindow.
Diff:
Modified: trunk/dabo/ui/uiwx/dPdfWindow.py
===================================================================
--- trunk/dabo/ui/uiwx/dPdfWindow.py 2008-06-26 16:59:01 UTC (rev 4199)
+++ trunk/dabo/ui/uiwx/dPdfWindow.py 2008-06-27 12:16:36 UTC (rev 4200)
@@ -14,7 +14,7 @@
try:
import wx.lib.pdfwin as pdfwin
PDFWindow = pdfwin.PDFWindow
-except ImportError:
+except (ImportError, AttributeError):
class Dummy(object):
_dummy = True
PDFWindow = Dummy
_______________________________________________
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]