Mercurial > hg
diff COPYING @ 27357:7f5a0bd4c9aa
util: make hashlib import unconditional
hashlib was added in Python 2.5. As far as I can tell, SHA-512 is always
available in 2.6+. So move the hashlib import to the top of the file and
remove the one-off handling of SHA-512.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 12 Dec 2015 23:30:37 -0500 |
parents | 8c8b55733cbd |
children |