Changeset 4268

Show
Ignore:
Timestamp:
07/10/08 17:20:44 (1 month ago)
Author:
paul
Message:

I'm on Ubuntu 8.04 (hardy) now, and the first error I got after installing
wxPython 2.8.8.0 was a ValueError? on trying to import wx.lib.pdfwin. I
reverted that try: block back to have a bare except, because it makes sense
in this case.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dabo/ui/uiwx/dPdfWindow.py

    r4211 r4268  
    2121    import wx.lib.pdfwin as pdfwin 
    2222    PDFWindow = pdfwin.PDFWindow 
    23 except (ImportError, AttributeError, WindowsError): 
     23except: 
     24    ## If there's any exception at all in importing pdfwin, use the dummy. 
    2425    class Dummy(object): 
    2526        _dummy = True