#NEWLINE# def write( self , message ) : #NEWLINE# #INDENT# '\n        Interface for sys.excepthook\n        ' #NEWLINE# self . stderr . write ( message ) #NEWLINE# self . _text . moveCursor ( QtGui . QTextCursor . End ) #NEWLINE# self . _text . insertPlainText ( self ) #NEWLINE# self . _status . setPixmap ( status_pixmap ( attention = True ) )