Mercurial > hg
comparison hgeditor @ 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 | 1aee2ab0f902 |
children |
comparison
equal
deleted
inserted
replaced
27356:c2effd1ecebf | 27357:7f5a0bd4c9aa |
---|