def __init__(self, messagesAllowed, output=sys.stdout): """ Initiate the the limited reporter. Load a list of allowed messages. @param output: output stream """ TextReporter.__init__(self, output) self.messagesAllowed = messagesAllowed
def __init__(self, pane): TextReporter.__init__(self) self.pane = pane