[Freeipa-devel] [PATCH] 275 Fix deprecation warning

Rob Crittenden rcritten at redhat.com
Wed Sep 16 17:03:23 UTC 2009


This warning was logged in the Apache error log:

/usr/lib/python2.6/site-packages/mod_python/importer.py:32: 
DeprecationWarning: the md5 module is deprecated; use hashlib instead

Try to import hashlib for md5 and if it fails, fall back to the 
deprecated version. Tested on Python 2.4 and 2.6.

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-276-deprecated.patch
Type: application/mbox
Size: 921 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090916/ae8b5495/attachment.mbox>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090916/ae8b5495/attachment.bin>


More information about the Freeipa-devel mailing list