cwm bug - deprecation warnings with python 2.6

View: New views
1 Messages — Rating Filter:   Alert me  

cwm bug - deprecation warnings with python 2.6

by Martin Thurn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fedora Core 11 with Python 2.6, cwm spits out several warnings:

/usr/lib/python2.6/site-packages/swap/why.py:30: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5, binascii  # for building md5 URIs
#Processed by Id: cwm.py,v 1.197 2007/12/13 15:38:39 syosi Exp
        #    using base file:///home/thurnma/Work/workspace/SHARDS_API/
/usr/lib/python2.6/site-packages/swap/term.py:1655: DeprecationWarning: object.__new__() takes no parameters
  self = Fragment.__new__(cls, *args, **keywords)
/usr/lib/python2.6/site-packages/swap/cwm_crypto.py:15: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import md5, sha, binascii, quopri, base64

 - - Martin