def __init__(self): threading.Thread.__init__(self) self.name = "SearchWorker" self.jargonLoader = JargonLoader.instance() # load the jargon while in an out-of-thread context, to spot any problems while in the main thread self.jargonLoader.get_jargon() self.jargonLoader.get_jargon().apply('test string')