[PATCH 4 of 5] cleanup: replace uses of util.(md5|sha1|sha256|sha512) with hashlib.\1

Augie Fackler raf at durin42.com
Fri Jun 10 10:55:47 EDT 2016


> On Jun 10, 2016, at 10:16 AM, Yuya Nishihara <yuya at tcha.org> wrote:
> 
> On Fri, 10 Jun 2016 00:41:17 -0400, Augie Fackler wrote:
>> # HG changeset patch
>> # User Augie Fackler <raf at durin42.com>
>> # Date 1465531953 14400
>> #      Fri Jun 10 00:12:33 2016 -0400
>> # Node ID c53644cf3126d5fe51a32b464ecf77c3ea2ca549
>> # Parent  08f06fc43974db42a5b5ba45744c584a2832ff3a
>> cleanup: replace uses of util.(md5|sha1|sha256|sha512) with hashlib.\1
> 
> The series looks good to me. Pushed to the committed repo, thanks.
> 
> I've removed unused imports to silence pyflakes.
> 
>   $ hg locate 'set:**.py or grep("^#!.*python")' 2>/dev/null \
>> | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"
> +  mercurial/keepalive.py:628: '.util' imported but unused
> +  mercurial/repoview.py:17: '.util' imported but unused
>   tests/filterpyflakes.py:61: undefined name ‘undefinedname'

Sigh, thanks. I must not have pyflakes on this box.

> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20160610/da7f5d07/attachment.sig>


More information about the Mercurial-devel mailing list