On Mon, 12 Mar 2007, Ofer Nave wrote:
class Worker(threading.Thread):
def __init__(self, index_dir, worker_id):
threading.Thread.__init__(self)
self.index_dir = index_dir
self.worker_id = worker_id
if not os.path.exists(index_dir):
os.mkdir(index_dir)
Your thread must be a subclass of PyLucene.PythonThread. Andi.. _______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
