dabo Commit
Revision 3558
Date: 2007-10-24 07:31:15 -0700 (Wed, 24 Oct 2007)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/3558
Changed:
U trunk/dabo/ui/uiwx/dPdfWindow.py
Log:
Changed the try block for importing pywin32 stuff to an unqualified 'except'. I
ran into a couple of errors in a bad pywin32 installation that prevented Dabo
from loading; with this change, *any* error in pywin32 will be caught.
Diff:
Modified: trunk/dabo/ui/uiwx/dPdfWindow.py
===================================================================
--- trunk/dabo/ui/uiwx/dPdfWindow.py 2007-10-23 21:10:01 UTC (rev 3557)
+++ trunk/dabo/ui/uiwx/dPdfWindow.py 2007-10-24 14:31:15 UTC (rev 3558)
@@ -14,7 +14,7 @@
try:
import wx.lib.pdfwin as pdfwin
PDFWindow = pdfwin.PDFWindow
-except ImportError:
+except:
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/dabo-dev/[EMAIL PROTECTED]