Changeset 2988

Show
Ignore:
Timestamp:
03/26/07 13:21:12 (2 years ago)
Author:
ed
Message:

Fixed the problem that was causing Dabo to fail when being run under pythonw on Windows and Linux. Previously we were only trapping AttributeError? when calling the log object's flush(), but it was actually an IOError that was raised when trying to flush stdout under pythonw.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dabo/lib/logger.py

    r2811 r2988  
    4545        try: 
    4646            self.LogObject.flush() 
    47         except AttributeError
     47        except (AttributeError, IOError)
    4848            pass 
    49          
     49            
    5050     
    5151    def _getCaption(self):