"DeprecationWarning: the whrandom module is deprecated; please use the random module" (python2.4)
Is there any way those do not pollute my logs?
Discussion
Anonymous
-
2007-04-26
Logged In: YES
user_id=108233
Originator: NO
I reported this 2 years ago and he still has never fixed it which in my book is a lazy person even after I gave the bloody fix for it.
Edit the file -> /usr/lib/ask/askmail.py or where ever askmail.py is at on your box....
Find -> import whrandom and change to -> import random
Python deprecated whrandom since python 2.0 so the guy that is coding this program is using a very very old version of python that he should not be using which is being lazy.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2007-04-26
Logged In: YES
user_id=108233
Originator: NO
Also make sure you delete the askmail.pyc file as well.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=108233
Originator: NO
I reported this 2 years ago and he still has never fixed it which in my book is a lazy person even after I gave the bloody fix for it.
Edit the file -> /usr/lib/ask/askmail.py or where ever askmail.py is at on your box....
Find -> import whrandom and change to -> import random
Python deprecated whrandom since python 2.0 so the guy that is coding this program is using a very very old version of python that he should not be using which is being lazy.
Logged In: YES
user_id=108233
Originator: NO
Also make sure you delete the askmail.pyc file as well.