[Bug 363877] Re: Deprecation Warnings when running under Python 2.6

Kenneth Loafman kenneth at loafman.com
Mon Apr 20 11:16:18 UTC 2009


Yes.  I double checked in CVS.  The following code was added to gpg.py
in 0.5.06 and has not changed since:

try:
    from hashlib import sha1
    from hashlib import md5
except ImportError:
    from sha import new as sha1
    from md5 import new as md5

So unless hashlib is missing from your system, it should be using
hashlib.

-- 
Deprecation Warnings when running under Python 2.6
https://bugs.launchpad.net/bugs/363877
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list