warning in python with MySQLdb

Posted by juanpablo on Stack Overflow See other posts from Stack Overflow or by juanpablo
Published on 2010-03-14T01:16:31Z Indexed on 2010/03/14 1:25 UTC
Read the original article Hit count: 537

Filed under:
|
|

hi, when I use MySQLdb get this message:
/var/lib/python-support/python2.6/MySQLdb/init.py:34: DeprecationWarning: the sets module is deprecated from sets import ImmutableSet

I try filter the warning with
import warnings warnings.filterwarnings("ignore", message="the sets module is deprecated from sets import ImmutableSet")

but, I not get changes.
any suggestion?
Many thanks.

© Stack Overflow or respective owner

Related posts about python

Related posts about mysqldb