dabo Commit
Revision 4270
Date: 2008-07-10 19:41:58 -0700 (Thu, 10 Jul 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4270
Changed:
U trunk/dabo/ui/uiwx/dPdfWindow.py
Log:
Removed the bare except, and replaced it with the catch-all version.
Diff:
Modified: trunk/dabo/ui/uiwx/dPdfWindow.py
===================================================================
--- trunk/dabo/ui/uiwx/dPdfWindow.py 2008-07-11 02:41:02 UTC (rev 4269)
+++ trunk/dabo/ui/uiwx/dPdfWindow.py 2008-07-11 02:41:58 UTC (rev 4270)
@@ -20,7 +20,7 @@
try:
import wx.lib.pdfwin as pdfwin
PDFWindow = pdfwin.PDFWindow
-except:
+except StandardError:
## If there's any exception at all in importing pdfwin, use the dummy.
class Dummy(object):
_dummy = True
_______________________________________________
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]