[pylucene-dev] debian unstable package of pylucene
Andraž Tori
andraz.tori1 at guest.arnes.si
Wed Dec 27 13:04:20 PST 2006
On Wed, 2006-12-27 at 11:12 -0800, Andi Vajda wrote:
>
> > The only solution would be to grep all the 'import Thread' in Django source
> > code and substitute with 'import PythonThread as Thread' (don't recall
> > offhand if that's the exact name).
>
> That could work. Others have suggested to simply set threading.Thread to
> PyLucene.PythonThread. There may also be a way to configure Django without
> having to resort to such tricks.
Andi, your advices are amazingly to the point.
I just changed a single line in django/utils/autoreload.py
from:
import thread
to:
import PyLucene.PythonThread as thread
Probably that is not a 100% fix, since somewhere django also does
"import threading", but it works for the moment.
bye
andraz
More information about the pylucene-dev
mailing list