Comment 0 for bug 629619

Revision history for this message
Omar (Pexego) (omar7r) wrote : [5.0] Critical regression, current_thread() doesn't exist in python2.5

Hi,

In last revision of server, was introduced this statement in sql_db.py: "from threading import current_thread" and "threading.current_thread()" in netsvc.py but this name of class doesn't exist in python2.4, python2.5 and first revisions of python2.6. In the newest versions exists an alias for it.

Should be "from threading import currentThread", this statement exists in python2.4, python2.5, python2.6 and python2.7 at least. I include the patch.