'The thread\'s main method, where all the magic happens.'

def run(self):

    for bug in self.bugs_to_report:
        result = apply(self.bug_report_function, bug)
        self.output.put(result)
    self.output.put(self.FINISHED)
