[Freeipa-devel] [PATCH] 241 fix deprecation warning in certs.py

Jason Gerard DeRose jderose at redhat.com
Fri Jul 24 02:04:40 UTC 2009


On Thu, 2009-07-23 at 17:01 -0400, Rob Crittenden wrote:
> Fix deprecation warning for the sha library on Python 2.6
> 
> sha has been replaced by hashlib. We need to support Python 2.4 - 2.6 so
> this will use hashlib if available but fall back onto sha if not.
> Fortunately they use the same API for the function we need.
> 
> This is a partial fix for bug 509042
> 
> rob

ack.  pushed to master.




More information about the Freeipa-devel mailing list