

def update(self):
    ' Updates the error display, fetching all new messages from the notify\n        stream '
    if (not self._notify_stream):
        self._init_notify()
    while self._notify_stream.is_text_available():
        line = self._notify_stream.get_line().strip()
        if ('warning' in line):
            RPObject.global_warn('Panda3D', line)
        elif ('error' in line):
            RPObject.global_error('Panda3D', line)
            self.add_error(line)
        else:
            RPObject.global_debug('Panda3D', line)

dataset/ETHPy150Open tobspr/RenderPipeline/rpcore/gui/error_message_display.py ErrorMessageDisplay.update/original